summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-05-27 14:46:24 (GMT)
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 23:31:29 (GMT)
commit345df5126e5cf46c8ddf2ec491f1d6e17e29e645 (patch)
tree1f9da284a15bdeea27603b338def82de05875091 /drivers
parent2113852b239ed4a93d04135372162252f9342bb6 (diff)
downloadlinux-345df5126e5cf46c8ddf2ec491f1d6e17e29e645.tar.xz
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')
-rw-r--r--drivers/i2c/i2c-boardinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/i2c-boardinfo.c b/drivers/i2c/i2c-boardinfo.c
index 3ca2e01..10274ff 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"