Commit f669f096 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] drivers_net_sis900.c: misiing __devinit

Andrey Panin <pazke@orbita1.ru>: drivers_net_sis900.c: misiing __devinit:
  This patch adds missing __devinit modifier for read_eeprom() function.
  Patch against 2.5.8. Compiles, but untested.
parent e57d8fac
...@@ -656,7 +656,7 @@ static void sis900_set_capability( struct net_device *net_dev , struct mii_phy * ...@@ -656,7 +656,7 @@ static void sis900_set_capability( struct net_device *net_dev , struct mii_phy *
* Note that location is in word (16 bits) unit * 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; int i;
u16 retval = 0; u16 retval = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment