summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-pxa-pci.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-30 06:14:30 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:31:29 +0100
commit93cf5d75b9d0b703ca8f4f8f98303ad77ab20d26 (patch)
tree63c507fd557732ba83cf61d095425bac35d7ed4e /drivers/i2c/busses/i2c-pxa-pci.c
parenti2c: add export.h to i2c-boardinfo.c for EXPORT_SYMBOL (diff)
downloadlinux-93cf5d75b9d0b703ca8f4f8f98303ad77ab20d26.tar.xz
linux-93cf5d75b9d0b703ca8f4f8f98303ad77ab20d26.zip
i2c: Add module.h to modular files prev. implicitly getting it
These files use interfaces from linux/module.h, so they must include that file to avoid build errors when the implicit presence of module.h is removed. [with i2c-pxa-pci.c fix from Randy Dunlap <rdunlap@xenotime.net>] Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/i2c/busses/i2c-pxa-pci.c')
-rw-r--r--drivers/i2c/busses/i2c-pxa-pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-pxa-pci.c b/drivers/i2c/busses/i2c-pxa-pci.c
index b73da6cd6f91..632e088760a3 100644
--- a/drivers/i2c/busses/i2c-pxa-pci.c
+++ b/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>