summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorJingchang Lu <jingchang.lu@freescale.com>2014-07-01 08:16:17 (GMT)
committerMatthew Weigel <Matthew.Weigel@freescale.com>2014-12-11 18:35:31 (GMT)
commit2f3187620e02641ee4f25d51996d77c1ddb09ec1 (patch)
tree5dfe4f8a4d55d84ec8993f381150358bd4a0703e /drivers/clk
parenta0d0b18d9faeff97408d18cc0186ef9234a95434 (diff)
downloadlinux-fsl-qoriq-2f3187620e02641ee4f25d51996d77c1ddb09ec1.tar.xz
clk: ppc-corenet: Fix Section mismatch warning
WARNING: drivers/built-in.o(.data+0x10258): Section mismatch in reference from the variable ppc_corenet_clk_driver to the (unknown reference) .init.rodata:(unknown) The variable ppc_corenet_clk_driver references the (unknown reference) __initconst (unknown) If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console Signed-off-by: Jingchang Lu <jingchang.lu@freescale.com> --- This patch is pulled back from upstream: commit da788acb28386aa896224e784954bb73c99ff26c
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/clk-ppc-corenet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-ppc-corenet.c b/drivers/clk/clk-ppc-corenet.c
index e958707..6f968f1 100644
--- a/drivers/clk/clk-ppc-corenet.c
+++ b/drivers/clk/clk-ppc-corenet.c
@@ -264,7 +264,7 @@ static const struct of_device_id ppc_clk_ids[] __initconst = {
{}
};
-static struct platform_driver ppc_corenet_clk_driver = {
+static struct platform_driver ppc_corenet_clk_driver __initdata = {
.driver = {
.name = "ppc_corenet_clock",
.owner = THIS_MODULE,