powerpc: mpc85xx: Fix compilation with CONFIG_WDT
authorPali Rohár <pali@kernel.org>
Thu, 28 Apr 2022 11:31:43 +0000 (13:31 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 20 Jun 2022 01:18:26 +0000 (09:18 +0800)
commit549bb6b2376b81f30b9492afeff5d6cdf7523eeb
tree87ef5b243f5ea2fb16553d4f2ef87a58a51ee20c
parent26f6f7188bf03dbf9499ef626253cf3b2c1bd3de
powerpc: mpc85xx: Fix compilation with CONFIG_WDT

When CONFIG_WDT is enabled then non-DM watchdog code cannot be used due to
conflicting functions like watchdog_reset(). So disable compilation of
mpc85xx watchdog_reset() function when CONFIG_WDT is enabled.

Signed-off-by: Pali Rohár <pali@kernel.org>
arch/powerpc/cpu/mpc85xx/cpu.c