]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
i2c: add export.h to i2c-boardinfo.c for EXPORT_SYMBOL
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 14:46:24 +0000 (10:46 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:49 +0000 (04:05 -0400)
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>
drivers/i2c/i2c-boardinfo.c

index 3ca2e012e78932ed8cf33339a3a0a0d404026c03..10274ffb66d73693ebbe097026156792ddeb8ea6 100644 (file)
@@ -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"