mirror of https://gitee.com/openkylin/linux.git
clk: bcm/kona: Silence sparse warnings
drivers/clk/bcm/clk-kona.c:1243:16: warning: odd constant _Bool cast (ffffffffffffffea becomes 1) Reviewed-by: Alex Elder <elder@linaro.org> Cc: Tim Kryger <tim.kryger@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
9a39222db6
commit
4cca1be4bc
|
@ -1240,7 +1240,7 @@ static bool __kona_clk_init(struct kona_clk *bcm_clk)
|
|||
default:
|
||||
BUG();
|
||||
}
|
||||
return -EINVAL;
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Set a CCU and all its clocks into their desired initial state */
|
||||
|
|
Loading…
Reference in New Issue