Commit 36dd123b authored by David S. Miller's avatar David S. Miller

[NET]: Fix build warning in ns83820 driver.

parent 1ed24d74
...@@ -1586,6 +1586,7 @@ static void ns83820_run_bist(struct ns83820 *dev, const char *name, u32 enable, ...@@ -1586,6 +1586,7 @@ static void ns83820_run_bist(struct ns83820 *dev, const char *name, u32 enable,
dprintk("%s: done %s in %d loops\n", dev->net_dev.name, name, loops); dprintk("%s: done %s in %d loops\n", dev->net_dev.name, name, loops);
} }
#ifdef PHY_CODE_IS_FINISHED
static void ns83820_mii_write_bit(struct ns83820 *dev, int bit) static void ns83820_mii_write_bit(struct ns83820 *dev, int bit)
{ {
/* drive MDC low */ /* drive MDC low */
...@@ -1758,6 +1759,7 @@ static void ns83820_probe_phy(struct ns83820 *dev) ...@@ -1758,6 +1759,7 @@ static void ns83820_probe_phy(struct ns83820 *dev)
dprintk("version: 0x%04x 0x%04x\n", a, b); 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) static int __devinit ns83820_init_one(struct pci_dev *pci_dev, const struct pci_device_id *id)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment