2002-09-24 04:39:25

by Albert Cranford

[permalink] [raw]
Subject: [patch 2/2] linux-2.5.38 additional i2c driver ID's

Hello Linus,
Additional I2C driver ID's for 2.5.38
Thanks,
Albert
--
[email protected]


Attachments:
2-i2c-includes-patch (2.65 kB)

2002-09-24 04:58:00

by Jeff Garzik

[permalink] [raw]
Subject: Re: [patch 2/2] linux-2.5.38 additional i2c driver ID's

Albert Cranford wrote:
> --- linux/include/linux/i2c.h.orig 2002-09-09 13:35:04.000000000 -0400
> +++ linux/include/linux/i2c.h 2002-09-21 22:27:11.000000000 -0400
> @@ -68,6 +68,12 @@
> union i2c_smbus_data;
>
>
> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,1)
> +#ifndef __exit
> +#define __exit
> +#endif
> +#endif


We don't need to be adding this to the mainline 2.5.x kernel.
2.2.x kernels are ancient.

Jeff