clk: No-op CLK_OF_DECLARE if not enabled
Instead of wrapping each defenition of CLK_OF_DECLARE hook with
preprocessor guards, change the definition of CLK_OF_DECLARE to expand
into no-op if COMMON_CLK_OF_PROVIDER is not enabled.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent dc24747 commit 6b16f5961f17c9e61f719e0e6f6d34c5485d73fa
@Andrey Smirnov Andrey Smirnov authored on 14 Mar 2017
Sascha Hauer committed on 30 Mar 2017
Showing 3 changed files
View
drivers/clk/clk-fixed-factor.c
View
drivers/clk/clk-fixed.c
View
include/linux/clk.h