]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
watchdog: db8500: add back prmcu dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 1 Mar 2017 09:15:30 +0000 (10:15 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 1 Mar 2017 14:15:10 +0000 (06:15 -0800)
commit9297b652bd0a11e29251ffaac93369b8ad45932d
treeeed295b59ffd28dfba91a4bb2b101fc0e77f7aeb
parent3736d4eb6af37492aeded7fec0072dedd959c842
watchdog: db8500: add back prmcu dependency

When the db8500 watchdog is enabled without the PRCMU, we get a lot of
warnings about duplicate or missing helper functions:

In file included from drivers/watchdog/ux500_wdt.c:21:0:
include/linux/mfd/dbx500-prcmu.h:422:19: error: redefinition of 'prcmu_abb_read'
 static inline int prcmu_abb_read(u8 slave, u8 reg, u8 *value, u8 size)

This restores the dependency as it was.

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>
drivers/watchdog/Kconfig