diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-04-19 19:44:56 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-04-21 19:01:39 -0700 |
commit | fc04f27dfc4280ef35540ab40fa14c24ff8cc799 (patch) | |
tree | a491a0e30bbeebb2bd8309d60d33671f6e14f2f2 /drivers/clk/Kconfig | |
parent | 2158a09395b3751db99663b2efdcce0ae09ca133 (diff) | |
download | lwn-fc04f27dfc4280ef35540ab40fa14c24ff8cc799.tar.gz lwn-fc04f27dfc4280ef35540ab40fa14c24ff8cc799.zip |
clk: ti: fix building without legacy omap3
When CONFIG_ATAGS or CONFIG_OMAP3 is disabled, we get a build error:
In file included from include/linux/clk-provider.h:15:0,
from drivers/clk/ti/clk.c:19:
drivers/clk/ti/clk.c: In function 'ti_clk_add_aliases':
drivers/clk/ti/clk.c:438:29: error: 'simple_clk_match_table' undeclared (first use in this function); did you mean 'simple_attr_write'?
Moving the match table down fixes it.
Fixes: c17435c56bb1 ("clk: ti: add API for creating aliases automatically for simple clock types")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/Kconfig')
0 files changed, 0 insertions, 0 deletions