lkml.org 
[lkml]   [2004]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[Compile Regression in 2.4.25-pre8][PATCH 32/42]

    ns83820.c:1708: warning: `ns83820_probe_phy' defined but not used

    ns83820_probe_phy is still incomplete. Wrap it with #ifdef
    PHY_CODE_IS_FINISHED as in other part of the driver.

    diff -Nru -X dontdiff linux-2.4-vanilla/drivers/net/ns83820.c linux-2.4/drivers/net/ns83820.c
    --- linux-2.4-vanilla/drivers/net/ns83820.c Sat Jan 31 15:54:42 2004
    +++ linux-2.4/drivers/net/ns83820.c Sat Jan 31 18:38:16 2004
    @@ -1704,6 +1704,7 @@
    return data;
    }

    +#ifdef PHY_CODE_IS_FINISHED
    static void ns83820_probe_phy(struct ns83820 *dev)
    {
    static int first;
    @@ -1757,6 +1758,7 @@
    dprintk("version: 0x%04x 0x%04x\n", a, b);
    }
    }
    +#endif

    static int __devinit ns83820_init_one(struct pci_dev *pci_dev, const struct pci_device_id *id)
    {
    --
    Reply-To: kronos@kronoz.cjb.net
    Home: http://kronoz.cjb.net
    It can't rain forever,
    but you can die before seeing the sun again.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:00    [W:0.027 / U:30.332 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site