[PATCH 2.4] ns83820.c fixes from 2.6

From: O.Sezer
Date: Fri Aug 13 2004 - 14:12:56 EST


ns83820.c warning fix from 2.6

Özkan Sezer

--- 27rc5~/drivers/net/ns83820.c 2004-02-18 15:36:31.000000000 +0200
+++ 27rc5/drivers/net/ns83820.c 2004-08-07 14:09:39.000000000 +0300
@@ -1585,6 +1585,7 @@
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)
{
/* drive MDC low */
@@ -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)
{