public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] 2.5.20 i2c-elektor fix
@ 2002-06-04  5:07 Albert Cranford
  2002-06-04 14:04 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Albert Cranford @ 2002-06-04  5:07 UTC (permalink / raw)
  To: Linus Torvalds, Linux Kernel List, linux-i2c@tk.uni-linz.ac.at

[-- Attachment #1: Type: text/plain, Size: 137 bytes --]

Hello Linus,
The attached patch fixes i2c-elektor.c exit function.
Albert
-- 
Albert Cranford Deerfield Beach FL USA
ac9410@bellsouth.net

[-- Attachment #2: 47-i2c-4-patch --]
[-- Type: text/plain, Size: 540 bytes --]

# 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.
--- linux/drivers/i2c/i2c-elektor.c.orig	2002-05-14 23:14:40.000000000 -0400
+++ linux/drivers/i2c/i2c-elektor.c	2002-05-16 09:38:09.000000000 -0400
@@ -160,7 +160,7 @@
 }
 
 
-static void __exit pcf_isa_exit(void)
+static void pcf_isa_exit(void)
 {
 	if (irq > 0) {
 		disable_irq(irq);

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-04 16:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-04  5:07 [patch] 2.5.20 i2c-elektor fix Albert Cranford
2002-06-04 14:04 ` Alan Cox
2002-06-04 16:13   ` Thunder from the hill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox