[i2c] [patch 2.6.24-rc5] isp1301_omap: build fix

Jean Delvare khali at linux-fr.org
Wed Dec 12 12:30:09 CET 2007


Hi David,

On Tue, 11 Dec 2007 21:55:50 -0800, David Brownell wrote:
> Build fix to the isp1301_omap driver ... this driver gets built
> more often in the OMAP tree than in mainline, partly because the
> defconfig for H2 (plus probably H3 and H4) needs updating.

Well, whoever moved that header file should have updated all drivers
using it, whether he was able to build them or not.

> 
> Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
> ---
>  drivers/i2c/chips/isp1301_omap.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/drivers/i2c/chips/isp1301_omap.c	2007-12-11 21:17:29.000000000 -0800
> +++ b/drivers/i2c/chips/isp1301_omap.c	2007-12-11 21:17:38.000000000 -0800
> @@ -26,7 +26,7 @@
>  #include <linux/interrupt.h>
>  #include <linux/platform_device.h>
>  #include <linux/usb/ch9.h>
> -#include <linux/usb_gadget.h>
> +#include <linux/usb/gadget.h>
>  #include <linux/usb.h>
>  #include <linux/usb/otg.h>
>  #include <linux/i2c.h>

Thanks, I'll apply this now. I guess that this fix should go to Linus
for 2.6.24? I will send i2c patches to Linus by the end of the day, so
if you have more such fixes, please send them to me quickly.

-- 
Jean Delvare



More information about the i2c mailing list