OSDN Git Service

dt-bindings: clock: exynosautov9: correct count of NR_CLK
authorChanho Park <chanho61.park@samsung.com>
Fri, 20 May 2022 03:06:25 +0000 (12:06 +0900)
committerStephen Boyd <sboyd@kernel.org>
Sat, 21 May 2022 03:29:13 +0000 (20:29 -0700)
commit538101dd7ce360f29effeb45aecb1953bc0fd01b
treebed4165ff36b58b3acd4b34a45fc613acd67e25e
parentaf629ec8ec31fa250251f940f2d21a742b3d9e0a
dt-bindings: clock: exynosautov9: correct count of NR_CLK

_NR_CLKS which can be used to register clocks via nr_clk_ids. The clock
IDs are started from 1. So, _NR_CLKS should be defined to "the last
clock id + 1"

Fixes: 680e1c8370a2 ("dt-bindings: clock: add clock binding definitions for Exynos Auto v9")
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Link: https://lore.kernel.org/r/20220520030625.145324-1-chanho61.park@samsung.com
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
include/dt-bindings/clock/samsung,exynosautov9.h