[PATCH char-misc-testing] headers: fix build error in arch/arm/plat-samsung/adc.c, add <linux/mod_devicetable.h>
From: Randy Dunlap
Date: Sat Jul 07 2018 - 17:04:02 EST
From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
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@xxxxxxxxx>
Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
---
arch/arm/plat-samsung/adc.c | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20180706.orig/arch/arm/plat-samsung/adc.c
+++ linux-next-20180706/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>