Commit 345df5126e5cf46c8ddf2ec491f1d6e17e29e645

Authored by Paul Gortmaker
1 parent 2113852b23

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/i2c/i2c-boardinfo.c
... ... @@ -19,6 +19,7 @@
19 19 #include <linux/kernel.h>
20 20 #include <linux/i2c.h>
21 21 #include <linux/slab.h>
  22 +#include <linux/export.h>
22 23 #include <linux/rwsem.h>
23 24  
24 25 #include "i2c-core.h"