]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: pnx4008_wdt: allow compile-testing
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Aug 2019 14:40:29 +0000 (16:40 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 16 Sep 2019 20:10:05 +0000 (22:10 +0200)
commitc86e7eca21917f6723d359a9be3475f3ccff1708
tree2e074f756d97d6af877e0f5ee21e11dea51dc27f
parentbe9193d609748746dfb693b9e403c66d3ad6ec0c
watchdog: pnx4008_wdt: allow compile-testing

The only thing that prevents building this driver on other
platforms is the mach/hardware.h include, which is not actually
used here at all, so remove the line and allow CONFIG_COMPILE_TEST.

Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20190809144043.476786-4-arnd@arndb.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/Kconfig
drivers/watchdog/pnx4008_wdt.c