lkml.org 
[lkml]   [2018]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH char-misc-testing] headers: fix build error in arch/arm/plat-samsung/adc.c, add <linux/mod_devicetable.h>
Date
From: Randy Dunlap <rdunlap@infradead.org>

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>
---
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>
\
 
 \ /
  Last update: 2018-07-07 23:04    [W:0.038 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site