2.5.20 i2c-elektor fix

2.5.20 i2c-elektor fix

Post by Albert Cranfor » Wed, 05 Jun 2002 14:20:05



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

[ 47-i2c-4-patch < 1K ]
# 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

 }

-static void __exit pcf_isa_exit(void)
+static void pcf_isa_exit(void)
 {
        if (irq > 0) {
                disable_irq(irq);

 
 
 

2.5.20 i2c-elektor fix

Post by Alan Co » Wed, 05 Jun 2002 22:10:05



> Hello Linus,
> The attached patch fixes i2c-elektor.c exit function.
> Albert
> --

Surely you just need to include <linux/init.h> ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.5.20 i2c-elektor fix

Post by Thunder from the hil » Thu, 06 Jun 2002 01:20:13


Hi,


Quote:> Surely you just need to include <linux/init.h> ?

This can't be the fix, as <linux/init.h> is already #included.

Regards,
Thunder
--
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 2.5.20 i2c uses nonexistent linux/i2c-old.h

drivers/media/video/adv7175.c:#include <linux/i2c-old.h>
drivers/media/video/bt819.c:#include <linux/i2c-old.h>
drivers/media/video/bt856.c:#include <linux/i2c-old.h>
drivers/media/video/i2c-parport.c:#include <linux/i2c-old.h>
drivers/media/video/i2c-old.c:#include <linux/i2c-old.h>
drivers/media/video/saa7110.c:#include <linux/i2c-old.h>
drivers/media/video/saa7111.c:#include <linux/i2c-old.h>
drivers/media/video/saa7185.c:#include <linux/i2c-old.h>
drivers/media/video/zr36067.c:#include <linux/i2c-old.h>
drivers/media/video/zr36120.h:#include <linux/i2c-old.h>

There is no file called i2c-old.h in 2.5.20.  These only build because
they pick up i2c-old.h from /usr/include/linux :(.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Get >>> 1GB / 2GB <<<< USB Flash Memory Drive

3. 2.5.20 i2c Config fix

4. IBM MWave and Linux

5. 2.5.20 i2c updates

6. Immediate opening in Vancouver

7. 2.5.20 i2c device updates

8. adding a disk for a swap partition

9. PATCH/RFC: fix 2.5.20 ramdisk

10. 2.5.20-dj3, warnings during compile and some fixes

11. Fix sys_capset in 2.5.20+patches...

12. 2.5.20 Fix non-modular Bluetooth compilation

13. Fix suspend-to-RAM in 2.5.20