summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-02-02 18:55:30 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-02-02 20:33:25 +0300
commit14b5a4bf7acd3c803c9bde857ae054ba19c4a04c (patch)
treebea91b8b62fffec4ab323b5a42b41a44663d2a4b /sound/pci
parentbe338e4c589935a95f09022566ec6c511c07bb8c (diff)
downloadlinux-14b5a4bf7acd3c803c9bde857ae054ba19c4a04c.tar.xz
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: 3ca2377b6fed ("clk: sunxi: rewrite sun6i-ar100 using factors clk") Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions