Re: [PATCH -next] i2c: i2c-pxa-pci.c needs module.h

From: Paul Gortmaker
Date: Sun Jul 31 2011 - 15:42:00 EST


On Sun, Jul 31, 2011 at 12:42 PM, Ben Dooks <ben-i2c@xxxxxxxxx> wrote:
> On Sat, Jul 30, 2011 at 03:09:32PM -0400, Paul Gortmaker wrote:
>> On Sat, Jul 30, 2011 at 12:14 AM, Randy Dunlap <rdunlap@xxxxxxxxxxxx> wrote:
>> > From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
>> >
>> > i2c-pxa-pci.c uses interfaces from linux/module.h, so it should
>> > include that file.  This fixes build errors.
>>
>> Applied to module.h-split, thanks.
>
> ok, so I don't need to apply this one?

Nope, I've got it. There are so many implicit module.h uses, that while
farming them all out to subtrees could in theory be done, it really isn't
all that practical (or timely).

Thanks,
Paul.

> Acked-by: Ben Dooks <ben-linux@xxxxxxxxx>
>
>> P.
>>
>> >
>> > Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
>> > ---
>> >  drivers/i2c/busses/i2c-pxa-pci.c |    1 +
>> >  1 file changed, 1 insertion(+)
>> >
>> > --- linux-next-20110729.orig/drivers/i2c/busses/i2c-pxa-pci.c
>> > +++ linux-next-20110729/drivers/i2c/busses/i2c-pxa-pci.c
>> > @@ -3,6 +3,7 @@
>> >  * It does not support slave mode, the register slightly moved. This PCI
>> >  * device provides three bars, every contains a single I2C controller.
>> >  */
>> > +#include <linux/module.h>
>> >  #include <linux/pci.h>
>> >  #include <linux/platform_device.h>
>> >  #include <linux/i2c/pxa-i2c.h>
>> > --
>> > To unsubscribe from this list: send the line "unsubscribe linux-next" in
>> > the body of a message to majordomo@xxxxxxxxxxxxxxx
>> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> >
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> --
> Ben Dooks, ben@xxxxxxxxx, http://www.fluff.org/ben/
>
> Large Hadron Colada: A large Pina Colada that makes the universe disappear.
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-next" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
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/