mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.4] ns83820.c fixes from 2.6
@ 2004-08-13 18:58 O.Sezer
  0 siblings, 0 replies; only message in thread
From: O.Sezer @ 2004-08-13 18:58 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 49 bytes --]

ns83820.c warning fix from 2.6

Özkan Sezer


[-- Attachment #2: ns83820.c-2.6-warning.diff --]
[-- Type: text/plain, Size: 540 bytes --]

--- 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)
 {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-13 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-13 18:58 [PATCH 2.4] ns83820.c fixes from 2.6 O.Sezer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®