Skip to content
Commit 7d839436 authored by Sean Anderson's avatar Sean Anderson Committed by Leo Yu-Chi Liang
Browse files

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: default avatarSean Anderson <seanga2@gmail.com>
Reviewed-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent cb57811f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment