summaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga.c
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2021-03-10 21:02:18 -0500
committerLeo Yu-Chi Liang <ycliang@andestech.com>2021-04-08 15:37:27 +0800
commit7d8394366a3b1a8bcbc4ea3460ff5c0901335731 (patch)
tree03232bece4cbfcabd99efb062002c5e939954aea /drivers/fpga/fpga.c
parentcb57811fbc726cb93da92c05cdfbb880a8c78c50 (diff)
downloadu-boot-7d8394366a3b1a8bcbc4ea3460ff5c0901335731.tar.gz
u-boot-7d8394366a3b1a8bcbc4ea3460ff5c0901335731.tar.xz
u-boot-7d8394366a3b1a8bcbc4ea3460ff5c0901335731.zip
wdt: dw: Switch to if(CONFIG()) instead of using #if
This is preferred over #if because the compiler can check syntax even if the feature is disabled. This cannot be used for CONFIG_CLK because CONFIG_DW_WDT_CLOCK_KHZ is not defined on all platforms. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/fpga/fpga.c')
0 files changed, 0 insertions, 0 deletions