diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-30 06:14:30 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-01 00:31:29 +0100 |
commit | 93cf5d75b9d0b703ca8f4f8f98303ad77ab20d26 (patch) | |
tree | 63c507fd557732ba83cf61d095425bac35d7ed4e /drivers/i2c/busses/i2c-tegra.c | |
parent | i2c: add export.h to i2c-boardinfo.c for EXPORT_SYMBOL (diff) | |
download | linux-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 '')
-rw-r--r-- | drivers/i2c/busses/i2c-tegra.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index 3c94c4a81a55..b402435e9259 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -27,6 +27,7 @@ #include <linux/slab.h> #include <linux/i2c-tegra.h> #include <linux/of_i2c.h> +#include <linux/module.h> #include <asm/unaligned.h> |