2.5.20 i2c-elektor fix
PATCH 1/1 2.5.20 i2c-elektor fix
Hello Linus,
The attached patch fixes i2c-elektor.c exit function. Albert
Signature · 2 lines
Albert Cranford Deerfield Beach FL USA [email protected]
# i2c-elektor.c:Adding call to pcf_isa_init to i2c_pcfisa_init causes:
# i2c-elektor.o: In function `i2c_pcfisa_init':
# i2c-elektor.o(.text.init+0x95): undefined reference to `local symbol # i2c-elektor.c: fix by removing __exit for inline compiling.
drivers/i2c/i2c-elektor.c renamed from drivers/i2c/i2c-elektor.c.orig +1 -1
@@ -160,7 +160,7 @@ } -static void __exit pcf_isa_exit(void) +static void pcf_isa_exit (void ) {if (irq >0 ) {disable_irq (irq);
Quoted 4 lines · Albert Cranford
Hello Linus,
The attached patch fixesi2c-elektor.cexit function. Albert
Surely you just need to include <linux/init.h> ?
Hi,
Quoted 1 line · Alan Cox
Surely you just need to include <
linux/init.h> ?
This can't be the fix, as <linux/init.h> is already #included.
Regards,
Thunder
Signature · 4 lines
ship is leaving right on time | Thunder from the hill at ngforever empty harbour, wave goodbye | evacuation of the isle | free inhabitant not directly caveman's paintings drowning | belonging anywhere