linux_dsm_epyc7002/drivers/clk/ti
Arnd Bergmann 6793a30a06 clk: omap: compile legacy omap3 clocks conditionally
The 'ARM: OMAP3: legacy clock data move under clk driver' patch series
causes build errors when CONFIG_OMAP3 is not set:

drivers/clk/ti/dpll.c: In function 'ti_clk_register_dpll':
drivers/clk/ti/dpll.c:199:31: error: 'omap3_dpll_ck_ops' undeclared (first use in this function)
  const struct clk_ops *ops = &omap3_dpll_ck_ops;
                               ^
drivers/clk/ti/dpll.c:199:31: note: each undeclared identifier is reported only once for each function it appears in
drivers/clk/ti/dpll.c:259:10: error: 'omap3_dpll_per_ck_ops' undeclared (first use in this function)
   ops = &omap3_dpll_per_ck_ops;
          ^

drivers/built-in.o: In function `ti_clk_register_gate':
drivers/clk/ti/gate.c:179: undefined reference to `clkhwops_omap3430es2_dss_usbhost_wait'
drivers/clk/ti/gate.c:179: undefined reference to `clkhwops_am35xx_ipss_module_wait'
-in.o: In function `ti_clk_register_interface':
drivers/clk/ti/interface.c💯 undefined reference to `clkhwops_omap3430es2_iclk_hsotgusb_wait'
drivers/clk/ti/interface.c💯 undefined reference to `clkhwops_omap3430es2_iclk_dss_usbhost_wait'
drivers/clk/ti/interface.c💯 undefined reference to `clkhwops_omap3430es2_iclk_ssi_wait'
drivers/clk/ti/interface.c💯 undefined reference to `clkhwops_am35xx_ipss_wait'
drivers/built-in.o: In function `ti_clk_register_composite':
:(.text+0x3da768): undefined reference to `ti_clk_build_component_gate'

In order to fix that problem, this patch makes the omap3 legacy code
compiled only when both CONFIG_OMAP3 and CONFIG_ATAGS are set.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
2015-02-03 11:06:11 -08:00
..
apll.c clk: ti: dra7: return error code in failure case 2014-06-19 14:52:31 +03:00
autoidle.c CLK: TI: add autoidle support 2014-01-17 12:34:59 -08:00
clk-2xxx.c ARM: OMAP2: clock: add DT boot support for cpufreq_ck 2014-05-28 13:05:57 +03:00
clk-3xxx-legacy.c clk: ti: add omap3 legacy clock data 2015-01-30 10:55:19 -08:00
clk-3xxx.c clk: ti: Initialize clocks for dm816x 2015-01-20 10:09:08 -08:00
clk-7xx.c clk: ti: Drop use of clk-private.h 2015-01-27 11:58:54 -08:00
clk-33xx.c clk: ti: am335x: remove unecessary cpu0 clk node 2014-02-24 22:56:38 -08:00
clk-43xx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-06-12 14:27:40 -07:00
clk-44xx.c clk: ti: Drop use of clk-private.h 2015-01-27 11:58:54 -08:00
clk-54xx.c clk: ti: Drop use of clk-private.h 2015-01-27 11:58:54 -08:00
clk-816x.c clk: ti: Initialize clocks for dm816x 2015-01-20 10:09:08 -08:00
clk-dra7-atl.c Merge branch 'for-v3.18/ti-clk-driver' of github.com:t-kristo/linux-pm into clk-next 2014-09-29 23:38:59 -07:00
clk.c clk: omap: compile legacy omap3 clocks conditionally 2015-02-03 11:06:11 -08:00
clock.h clk: ti: composite: add support for legacy composite clock init 2015-01-30 10:55:15 -08:00
clockdomain.c clk: ti: consider the fact that of_clk_get() might return an error 2014-09-29 11:51:13 +03:00
composite.c clk: omap: compile legacy omap3 clocks conditionally 2015-02-03 11:06:11 -08:00
divider.c clk: ti: divider: add support for legacy divider init 2015-01-30 10:55:05 -08:00
dpll.c clk: omap: compile legacy omap3 clocks conditionally 2015-02-03 11:06:11 -08:00
fapll.c clk: ti: Add support for FAPLL on dm816x 2015-01-20 10:09:07 -08:00
fixed-factor.c clk: ti: add support for TI fixed factor clock 2014-01-17 12:35:07 -08:00
gate.c clk: omap: compile legacy omap3 clocks conditionally 2015-02-03 11:06:11 -08:00
interface.c clk: omap: compile legacy omap3 clocks conditionally 2015-02-03 11:06:11 -08:00
Makefile clk: omap: compile legacy omap3 clocks conditionally 2015-02-03 11:06:11 -08:00
mux.c clk: ti: mux: add support for legacy mux init 2015-01-30 10:54:49 -08:00