浏览代码

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>
Paul Gortmaker 14 年之前
父节点
当前提交
345df5126e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/i2c/i2c-boardinfo.c

+ 1 - 0
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"