Commit c6f68779 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] hp100: fix section references

hp100: references __init code that should be marked as __devinit;

Error: ./drivers/net/hp100.o .text refers to 0000000000000f7f R_X86_64_PC32     .init.text+0x00000000000000b8
Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9b323e0f
...@@ -306,7 +306,7 @@ static void wait(void) ...@@ -306,7 +306,7 @@ static void wait(void)
* Read board id and convert to string. * Read board id and convert to string.
* Effectively same code as decode_eisa_sig * Effectively same code as decode_eisa_sig
*/ */
static __init const char *hp100_read_id(int ioaddr) static __devinit const char *hp100_read_id(int ioaddr)
{ {
int i; int i;
static char str[HP100_SIG_LEN]; static char str[HP100_SIG_LEN];
...@@ -429,7 +429,7 @@ struct net_device * __init hp100_probe(int unit) ...@@ -429,7 +429,7 @@ struct net_device * __init hp100_probe(int unit)
} }
#endif #endif
static int __init hp100_probe1(struct net_device *dev, int ioaddr, static int __devinit hp100_probe1(struct net_device *dev, int ioaddr,
u_char bus, struct pci_dev *pci_dev) u_char bus, struct pci_dev *pci_dev)
{ {
int i; int i;
......
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