diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-30 04:14:30 (GMT) |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 23:31:29 (GMT) |
commit | 93cf5d75b9d0b703ca8f4f8f98303ad77ab20d26 (patch) | |
tree | 63c507fd557732ba83cf61d095425bac35d7ed4e /drivers/i2c/busses/i2c-tegra.c | |
parent | 345df5126e5cf46c8ddf2ec491f1d6e17e29e645 (diff) | |
download | linux-fsl-qoriq-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-tegra.c')
-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 3c94c4a..b402435 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> |