diff options
author | NeilBrown | 2018-12-30 04:21:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-02-27 10:08:52 +0100 |
commit | b5f7ead81de34cfcaaa092460118ab117279c98e (patch) | |
tree | 9025e7cc44223dce0fcd599e408ff0cf16968ff1 | |
parent | selftests/bpf: Test [::] -> [::1] rewrite in sys_sendmsg in test_sock_addr (diff) | |
download | kernel-qcow2-linux-b5f7ead81de34cfcaaa092460118ab117279c98e.tar.gz kernel-qcow2-linux-b5f7ead81de34cfcaaa092460118ab117279c98e.tar.xz kernel-qcow2-linux-b5f7ead81de34cfcaaa092460118ab117279c98e.zip |
watchdog: mt7621_wdt/rt2880_wdt: Fix compilation problem
[ Upstream commit 3aa8b8bbc142eeaac89891de584535ceb7fce405 ]
These files need
#include <linux/mod_devicetable.h>
to compile correctly.
Fixes: ac3167257b9f ("headers: separate linux/mod_devicetable.h from linux/platform_device.h")
Signed-off-by: NeilBrown <neil@brown.name>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | drivers/watchdog/mt7621_wdt.c | 1 | ||||
-rw-r--r-- | drivers/watchdog/rt2880_wdt.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/watchdog/mt7621_wdt.c b/drivers/watchdog/mt7621_wdt.c index 5c4a764717c4..81208cd3f4ec 100644 --- a/drivers/watchdog/mt7621_wdt.c +++ b/drivers/watchdog/mt7621_wdt.c @@ -17,6 +17,7 @@ #include <linux/watchdog.h> #include <linux/moduleparam.h> #include <linux/platform_device.h> +#include <linux/mod_devicetable.h> #include <asm/mach-ralink/ralink_regs.h> diff --git a/drivers/watchdog/rt2880_wdt.c b/drivers/watchdog/rt2880_wdt.c index 98967f0a7d10..db7c57d82cfd 100644 --- a/drivers/watchdog/rt2880_wdt.c +++ b/drivers/watchdog/rt2880_wdt.c @@ -18,6 +18,7 @@ #include <linux/watchdog.h> #include <linux/moduleparam.h> #include <linux/platform_device.h> +#include <linux/mod_devicetable.h> #include <asm/mach-ralink/ralink_regs.h> |