[lkml]   [2004]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
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;

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

static int __devinit ns83820_init_one(struct pci_dev *pci_dev, const struct pci_device_id *id)
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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:00    [W:0.211 / U:1.636 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site