Re: eepro100 warning fix

Pavel Machek (pavel@ucw.cz)
Sat, 29 Jun 2002 16:06:47 +0200


Hi!

I killed #ifdef, and introduced warning. This fixes it. Please apply,
Pavel

> In 2.5.20, one could read:
> <pavel@ucw.cz>
> eepro100 net driver trivial cleanup:
> Extra prototype does not hurt; ifdefs do.
...
> eepro100.c:527: warning: `eepro100_suspend' declared `static' but never defined
> eepro100.c:528: warning: `eepro100_resume' declared `static' but never defined

--- linux-swsusp.test/drivers/net/eepro100.c Mon Jun 3 11:43:33 2002
+++ linux-swsusp/drivers/net/eepro100.c Sat Jun 29 15:58:45 2002
@@ -524,8 +524,6 @@
static int eepro100_init_one(struct pci_dev *pdev,
const struct pci_device_id *ent);
static void eepro100_remove_one (struct pci_dev *pdev);
-static int eepro100_suspend (struct pci_dev *pdev, u32 state);
-static int eepro100_resume (struct pci_dev *pdev);

static int do_eeprom_cmd(long ioaddr, int cmd, int cmd_len);
static int mdio_read(long ioaddr, int phy_id, int location);

-- 
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
-
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/