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

[PATCH] drivers_net_dl2k.c: missing __devinit's

Andrey Panin <pazke@orbita1.ru>: drivers_net_dl2k.c: missing __devinit's:
  This patch adds missing __devinit modifiers for read_eeprom() and
  parse_eeprom() functions. Patch against 2.5.8. Compiles, but untested.
parent 0be49a5c
......@@ -327,7 +327,7 @@ find_miiphy (struct net_device *dev)
return 0;
}
int
static int __devinit
parse_eeprom (struct net_device *dev)
{
int i, j;
......@@ -1275,7 +1275,7 @@ rio_ioctl_ext (struct net_device *dev, struct ioctl_data *iodata)
#define EEP_READ 0x0200
#define EEP_BUSY 0x8000
/* Read the EEPROM word */
int
static int __devinit
read_eeprom (long ioaddr, int eep_addr)
{
int i = 1000;
......
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