summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-tegra114.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang7@gmail.com>2020-04-13 09:30:25 +0300
committerMark Brown <broonie@kernel.org>2020-04-14 20:36:32 +0300
commitbb4bf8d2f4e0fdf64e43bb3a3186e04891b8a8e1 (patch)
tree1988e46d2db10eb7d4de040e24af4591ec8563e3 /drivers/spi/spi-tegra114.c
parent49686df5b874e5ed6249bc622b73ad9a9e71cd99 (diff)
downloadlinux-bb4bf8d2f4e0fdf64e43bb3a3186e04891b8a8e1.tar.xz
spi: sprd: adi: Use IS_ENABLED() to validate configs
If the Spreadtrum wachdog is loaded as a module, we still need set default watchdog reboot mode in case the rebooting is caused by watchdog. But now we can not set the watchdog reboot mode by using '#ifdef' to validate the watchdog configuration, thus we can change to use IS_ENABLED() to fix this issue. Signed-off-by: Baolin Wang <baolin.wang7@gmail.com> Link: https://lore.kernel.org/r/e38807eadd5550add8eb90dd3f8fbe2cfc39cc13.1586759322.git.baolin.wang7@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-tegra114.c')
0 files changed, 0 insertions, 0 deletions