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

[PATCH] drivers/net/epic100.c: missing __devinit

Andrey Panin <pazke@orbita1.ru>: drivers_net_epic100.c: missing __devinit:
  This patch adds missing __devinit modifier for read_eeprom() function.
  Patch against 2.5.9. Compiles, but untested.
parent ef2dc37c
...@@ -582,7 +582,7 @@ static int __devinit epic_init_one (struct pci_dev *pdev, ...@@ -582,7 +582,7 @@ static int __devinit epic_init_one (struct pci_dev *pdev,
#define EE_READ256_CMD (6 << 8) #define EE_READ256_CMD (6 << 8)
#define EE_ERASE_CMD (7 << 6) #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 i;
int retval = 0; int 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