summaryrefslogtreecommitdiff
path: root/arch/arm/plat-samsung
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2018-07-08 00:03:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-08 16:19:04 +0300
commit053a389b461c558e4ecf84a55b94dfc51cb0cbce (patch)
tree565eb5f775cc4798a326004b8e621136f4077204 /arch/arm/plat-samsung
parentac3167257b9fe16c9426c2087ead1c9f1b0992b1 (diff)
downloadlinux-053a389b461c558e4ecf84a55b94dfc51cb0cbce.tar.xz
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>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r--arch/arm/plat-samsung/adc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/adc.c b/arch/arm/plat-samsung/adc.c
index 2da35735fa38..ee3d5c989a76 100644
--- a/arch/arm/plat-samsung/adc.c
+++ b/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>