浏览代码

headers: fix build error in arch/arm/plat-samsung/adc.c, add <linux/mod_devicetable.h>

arch/arm/plat-samsung/adc.c needs to #include <linux/mod_devicetable.h>
explicitly since that header file was removed from
<linux/platform_device.h> (it wasn't needed there).

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Randy Dunlap 7 年之前
父节点
当前提交
053a389b46
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/arm/plat-samsung/adc.c

+ 1 - 0
arch/arm/plat-samsung/adc.c

@@ -8,6 +8,7 @@
 
 #include <linux/module.h>
 #include <linux/kernel.h>
+#include <linux/mod_devicetable.h>
 #include <linux/platform_device.h>
 #include <linux/sched.h>
 #include <linux/list.h>