summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-sh7760.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-30 08:14:30 +0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 03:31:29 +0400
commit93cf5d75b9d0b703ca8f4f8f98303ad77ab20d26 (patch)
tree63c507fd557732ba83cf61d095425bac35d7ed4e /drivers/i2c/busses/i2c-sh7760.c
parent345df5126e5cf46c8ddf2ec491f1d6e17e29e645 (diff)
downloadlinux-93cf5d75b9d0b703ca8f4f8f98303ad77ab20d26.tar.xz
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-sh7760.c')
-rw-r--r--drivers/i2c/busses/i2c-sh7760.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-sh7760.c b/drivers/i2c/busses/i2c-sh7760.c
index 3cad8fecc3d3..4cd0a1d44129 100644
--- a/drivers/i2c/busses/i2c-sh7760.c
+++ b/drivers/i2c/busses/i2c-sh7760.c
@@ -17,6 +17,7 @@
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/io.h>
+#include <linux/module.h>
#include <asm/clock.h>
#include <asm/i2c-sh7760.h>