lkml.org 
[lkml]   [2002]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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 13:22    [W:0.056 / U:4.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site