linux/drivers/clk/sunxi
Arnd Bergmann 14b5a4bf7a clk: sunxi: don't mark sun6i_ar100_data __initconst
The clk-sun6i-ar100 clk driver is a platform driver that may use
deferred probing, so its probe function must not access
__init symbols. Kbuild warns about this:

WARNING: drivers/clk/sunxi/built-in.o(.text+0x15f0): Section mismatch in reference from the function sun6i_a31_ar100_clk_probe() to the (unknown reference) .init.rodata:(unknown)
The function sun6i_a31_ar100_clk_probe() references
the (unknown reference) __initconst (unknown).
This is often because sun6i_a31_ar100_clk_probe lacks a __initconst
annotation or the annotation of (unknown) is wrong.

Removing the __initconst annotation avoids the warning and makes
deferred probing work.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 3ca2377b6f ("clk: sunxi: rewrite sun6i-ar100 using factors clk")
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2016-02-02 18:33:25 +01:00
..
clk-a10-codec.c clk: sunxi: codec clock support 2015-10-21 21:51:28 +02:00
clk-a10-hosc.c clk: sunxi: Move the 24M oscillator to a file of its own 2014-06-11 09:58:44 +02:00
clk-a10-mod1.c clk: sunxi: mod1 clock support 2015-10-21 21:51:29 +02:00
clk-a10-pll2.c clk: sunxi: pll2: Fix clock running too fast 2015-12-02 23:27:47 -08:00
clk-a10-ve.c clk: sunxi: Add VE (Video Engine) module clock driver for sun[457]i 2015-12-08 11:05:27 +01:00
clk-a20-gmac.c clk: sunxi: make use of of_clk_parent_fill helper function 2015-07-28 11:59:05 -07:00
clk-factors.c clk: sunxi: factors: Drop round_rate from clk ops 2016-01-29 11:30:27 +01:00
clk-factors.h clk: sunxi: factors: Support custom formulas 2016-01-29 11:30:27 +01:00
clk-mod0.c clk: sunxi: factors: Consolidate get_factors parameters into a struct 2016-01-27 18:57:37 +01:00
clk-simple-gates.c clk: sunxi: Add apb0 gates for A83T 2016-02-02 14:11:46 +01:00
clk-sun6i-apb0-gates.c clk: sunxi: sun6i-apb0-gates: Fix module autoload for OF platform driver 2015-09-16 15:22:25 -07:00
clk-sun6i-apb0.c clk: sunxi: sun6i-apb0: Fix module autoload for OF platform driver 2015-09-16 15:22:23 -07:00
clk-sun6i-ar100.c clk: sunxi: don't mark sun6i_ar100_data __initconst 2016-02-02 18:33:25 +01:00
clk-sun8i-apb0.c clk: sunxi: Add CLK_OF_DECLARE support for sun8i-a23-apb0-clk driver 2015-12-09 10:17:22 +01:00
clk-sun8i-bus-gates.c clk: sunxi: add bus gates for A83T 2016-02-02 14:14:24 +01:00
clk-sun8i-mbus.c clk: sunxi: rewrite sun8i-a23-mbus-clk using the simpler composite clk 2016-01-29 11:30:29 +01:00
clk-sun9i-core.c clk: sunxi: factors: Consolidate get_factors parameters into a struct 2016-01-27 18:57:37 +01:00
clk-sun9i-cpus.c clk: sunxi: Add sun9i A80 cpus (cpu special) clock support 2015-12-01 14:06:47 +01:00
clk-sun9i-mmc.c clk: sunxi: sun9i-mmc: Fix module autoload for OF platform driver 2015-09-16 15:22:31 -07:00
clk-sunxi.c clk: sunxi: rewrite sun6i-a31-ahb1-clk using factors clk with custom recalc 2016-01-29 11:30:28 +01:00
clk-usb.c clk: sunxi: usb: Sort clk providers by chip family and name 2016-01-25 10:26:03 +01:00
Makefile clk: sunxi: Add CLK_OF_DECLARE support for sun8i-a23-apb0-clk driver 2015-12-09 10:17:22 +01:00