public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/net/epic100.c: missing __devinit
@ 2002-04-16 10:53 Andrey Panin
  0 siblings, 0 replies; only message in thread
From: Andrey Panin @ 2002-04-16 10:53 UTC (permalink / raw)
  To: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 242 bytes --]


This patch adds missing __devinit modifier for read_eeprom() function.
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-epic-devinit --]
[-- Type: text/plain, Size: 459 bytes --]

diff -urN -X /usr/share/dontdiff linux.vanilla/drivers/net/epic100.c linux/drivers/net/epic100.c
--- linux.vanilla/drivers/net/epic100.c	Sun Apr 14 23:30:39 2002
+++ linux/drivers/net/epic100.c	Sun Apr 14 23:20:08 2002
@@ -582,7 +582,7 @@
 #define EE_READ256_CMD	(6 << 8)
 #define EE_ERASE_CMD	(7 << 6)
 
-static int read_eeprom(long ioaddr, int location)
+static int __devinit read_eeprom(long ioaddr, int location)
 {
 	int i;
 	int retval = 0;

[-- 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 10:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-16 10:53 [PATCH] drivers/net/epic100.c: 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