watchdog: pnx4008_wdt: allow compile-testing
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Aug 2019 14:40:29 +0000 (16:40 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 15 Aug 2019 19:33:02 +0000 (21:33 +0200)
commit0a453d527ba4ce393d8d8bc0b3f21d5df3d640bf
tree6811b68b1431f2df3a6f5311a4b11f1f85aaaa28
parent50ad15282e7c75269ab754f9460dd36ae784e181
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.

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