Re: [PATCH -next] i2c: fix xiic build error

From: Jean Delvare
Date: Tue Feb 16 2010 - 11:33:35 EST


Hi Randy,

On Tue, 16 Feb 2010 08:07:05 -0800, Randy Dunlap wrote:
> On 02/04/10 12:11, Randy Dunlap wrote:
> > From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> >
> > Add header file to fix build error:
> >
> > drivers/i2c/busses/i2c-xiic.c:493: error: implicit declaration of
> > function 'mdelay'
> >
> > Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> > ---
> > drivers/i2c/busses/i2c-xiic.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > --- linux-next-20100204.orig/drivers/i2c/busses/i2c-xiic.c
> > +++ linux-next-20100204/drivers/i2c/busses/i2c-xiic.c
> > @@ -31,6 +31,7 @@
> > #include <linux/module.h>
> > #include <linux/init.h>
> > #include <linux/errno.h>
> > +#include <linux/delay.h>
> > #include <linux/platform_device.h>
> > #include <linux/i2c.h>
> > #include <linux/interrupt.h>
> >
>
>
> This patch is still needed in linux-next-20100216.

Nothing I can do about it, as the i2c-xiic driver is neither upstream
nor in my tree.

--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/