diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-02-28 22:01:21 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-03-01 06:15:10 -0800 |
commit | 3eafee95643360d22c6725ea2188bd700c09c986 (patch) | |
tree | 11a8480dcf84afd8567737e7ca0800d5fdfc2adf /drivers/watchdog/twl4030_wdt.c | |
parent | 6fb303a81a0b106e7f5522df929bbf4596780c48 (diff) |
watchdog: sp805: add back AMBA dependency
The driver fails to link if ARM_AMBA is disabled:
drivers/watchdog/sp805_wdt.o: In function `sp805_wdt_driver_init':
sp805_wdt.c:(.init.text+0x4): undefined reference to `amba_driver_register'
It seems that the COMPILE_TEST was added in the wrong place, as there
is no architecture dependency, but a bus dependency. This moves
the dependency accordingly.
Fixes: da2a68b3eb47 ("watchdog: Enable COMPILE_TEST where possible")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/watchdog/twl4030_wdt.c')
0 files changed, 0 insertions, 0 deletions