lkml.org 
[lkml]   [2011]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH -next] i2c: i2c-pxa-pci.c needs module.h
From
On Sat, Jul 30, 2011 at 12:14 AM, Randy Dunlap <rdunlap@xenotime.net> wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> 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.

P.

>
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
> ---
>  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@vger.kernel.org
> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-07-30 21:11    [W:0.115 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site