diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-05-01 04:58:28 +0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-05-29 09:52:46 +0400 |
commit | 0b151debc31df089ddc07a3343031d8f51f988a3 (patch) | |
tree | aef8b8d94cebbfbfce60867d03cad1ab31fdc923 /drivers/clk/Kconfig | |
parent | f8aa0bd5c9b28f80bf372d0f486737b13ff01910 (diff) | |
download | linux-0b151debc31df089ddc07a3343031d8f51f988a3.tar.xz |
clk: add non CONFIG_OF routines for clk-provider
Some drivers that are shared between architectures have HAVE_CLK selected
but don't have OF. To remove compilation errors for drivers that provide
clocks on DT with of_clk_add_provider we would have to enclose these calls
within #ifdef CONFIG_OF, #endif.
This patch adds some stubs for OF related clk-provider functions that
either do nothing or return appropriate values if CONFIG_OF is not set.
So, definition of these routines will always be available.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/Kconfig')
0 files changed, 0 insertions, 0 deletions