diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-05-27 16:46:24 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-01 00:31:29 +0100 |
commit | 345df5126e5cf46c8ddf2ec491f1d6e17e29e645 (patch) | |
tree | 1f9da284a15bdeea27603b338def82de05875091 /drivers/i2c/i2c-boardinfo.c | |
parent | rtc: Add module.h to implicit users in drivers/rtc (diff) | |
download | linux-345df5126e5cf46c8ddf2ec491f1d6e17e29e645.tar.xz linux-345df5126e5cf46c8ddf2ec491f1d6e17e29e645.zip |
i2c: add export.h to i2c-boardinfo.c for EXPORT_SYMBOL
With module.h being implicitly everywhere via device.h, the absence
of explicitly including something for EXPORT_SYMBOL went unnoticed.
Since we are heading to fix things up and clean module.h from the
device.h file, we need to explicitly include these files now.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/i2c/i2c-boardinfo.c')
-rw-r--r-- | drivers/i2c/i2c-boardinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/i2c-boardinfo.c b/drivers/i2c/i2c-boardinfo.c index 3ca2e012e789..10274ffb66d7 100644 --- a/drivers/i2c/i2c-boardinfo.c +++ b/drivers/i2c/i2c-boardinfo.c @@ -19,6 +19,7 @@ #include <linux/kernel.h> #include <linux/i2c.h> #include <linux/slab.h> +#include <linux/export.h> #include <linux/rwsem.h> #include "i2c-core.h" |