]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: orion: fix compile-test dependencies
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Mar 2017 12:09:52 +0000 (13:09 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 18 May 2017 16:51:15 +0000 (18:51 +0200)
commit287cd0acf4d5c2bde09dabf9b7501e75830b1753
tree287efce799bc5bc4d0a9c9d8bf6b35a3a3bb7805
parent6a0fa58cdd92da9a8e6fa4e621cabd91974091b3
watchdog: orion: fix compile-test dependencies

I ran into one corner case with the orion watchdog using the
atomic_io_modify interface:

drivers/watchdog/orion_wdt.o: In function `orion_stop':
orion_wdt.c:(.text.orion_stop+0x28): undefined reference to `atomic_io_modify'
drivers/watchdog/orion_wdt.o: In function `armada375_stop':
orion_wdt.c:(.text.armada375_stop+0x28): undefined reference to `atomic_io_modify'

This function is available on all 32-bit ARM builds except for ebsa110, so
we have to specifically exclude that from compile-testing.

Fixes: 334d1fb69091 ("watchdog: Enable COMPILE_TEST where possible")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/Kconfig