* [PATCH] drivers/net/eepro100: missing __devinit
@ 2002-04-16 11:17 Andrey Panin
0 siblings, 0 replies; only message in thread
From: Andrey Panin @ 2002-04-16 11:17 UTC (permalink / raw)
To: linux-kernel; +Cc: trivial
[-- Attachment #1.1: Type: text/plain, Size: 268 bytes --]
This patch adds missing __devinit modifiers for speedo_found1() and
do_eeprom_cmd() functions. Patch against 2.5.8. Compiles, but untested.
--
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: wwwkeys.eu.pgp.net
[-- Attachment #1.2: patch-eepro100-devinit --]
[-- Type: text/plain, Size: 856 bytes --]
diff -urN -X /usr/share/dontdiff linux.vanilla/drivers/net/eepro100.c linux/drivers/net/eepro100.c
--- linux.vanilla/drivers/net/eepro100.c Sun Apr 14 23:30:39 2002
+++ linux/drivers/net/eepro100.c Sun Apr 14 23:46:30 2002
@@ -632,7 +632,7 @@
return -ENODEV;
}
-static int speedo_found1(struct pci_dev *pdev,
+static int __devinit speedo_found1(struct pci_dev *pdev,
long ioaddr, int card_idx, int acpi_idle_state)
{
struct net_device *dev;
@@ -866,7 +866,7 @@
interval for serial EEPROM. However, it looks like that there is an
additional requirement dictating larger udelay's in the code below.
2000/05/24 SAW */
-static int do_eeprom_cmd(long ioaddr, int cmd, int cmd_len)
+static int __devinit do_eeprom_cmd(long ioaddr, int cmd, int cmd_len)
{
unsigned retval = 0;
long ee_addr = ioaddr + SCBeeprom;
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-04-16 11:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-16 11:17 [PATCH] drivers/net/eepro100: missing __devinit Andrey Panin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).