lkml.org 
[lkml]   [2002]   [Apr]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 16 Apr 2002 15:20:36 +0400
FromAndrey Panin <>
Subject[PATCH] drivers/net/sis900.c: misiing __devinit
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.netdiff -urN -X /usr/share/dontdiff linux.vanilla/drivers/net/sis900.c linux/drivers/net/sis900.c
--- linux.vanilla/drivers/net/sis900.c	Wed Mar 13 21:43:32 2002
+++ linux/drivers/net/sis900.c	Sun Apr 14 23:52:57 2002
@@ -656,7 +656,7 @@
  *	Note that location is in word (16 bits) unit
  */
 
-static u16 read_eeprom(long ioaddr, int location)
+static u16 __devinit read_eeprom(long ioaddr, int location)
 {
 	int i;
 	u16 retval = 0;[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 12:22    [from the cache]
©2003-2008