commit | 87a6a52a5897bc3968a2506b4acf504c0768440a | [log] [tgz] |
---|---|---|
author | Michael Walle <mwalle@kernel.org> | Fri Dec 13 11:23:17 2024 +0100 |
committer | Peng Fan <peng.fan@nxp.com> | Sun Dec 15 09:00:31 2024 +0800 |
tree | 5ddde48f616160130bf042674b86f2fe8fde561c | |
parent | a1327d1c49fa1b30dc40ce72b49cc70266e07de8 [diff] |
board: sl28: fix linking with disabled watchdog We don't have a reference to the driver used by uclass_get_device_by_driver() in stop_recovery_watchdog(). Fix it by not calling that function if the watchdog driver isn't enabled. Signed-off-by: Michael Walle <mwalle@kernel.org> Reviewed-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>