]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: clk: rk3368: mark 'priv' __maybe_unused in rk3368_clk_set_rate()
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 5 Jul 2017 10:11:58 +0000 (12:11 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:32 +0000 (17:12 +0200)
commit4e4c40df3065df285e3bf60460ade2adbaabce22
treed1782153823519a04159647073577c8cc0779a11
parentdf0ae00041c62709917ad600999fd2945dc69426
rockchip: clk: rk3368: mark 'priv' __maybe_unused in rk3368_clk_set_rate()

With the clock support in rk3368_clk_set_rate() conditionalized on
various feature definitions, 'priv' can remain unused (e.g. in the
SPL build when only MMC is enabled).

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/clk/rockchip/clk_rk3368.c