summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-ppc-corenet.c
diff options
context:
space:
mode:
authorJingchang Lu <jingchang.lu@freescale.com>2014-07-01 16:37:11 +0800
committerMike Turquette <mturquette@linaro.org>2014-07-01 20:11:22 -0700
commitda788acb28386aa896224e784954bb73c99ff26c (patch)
tree6286c8c172e3243a0b196bec8b7c1b3b786eb24a /drivers/clk/clk-ppc-corenet.c
parenta12cc0b933a5bee137f7552f192329a5e533ac71 (diff)
downloadop-kernel-dev-da788acb28386aa896224e784954bb73c99ff26c.zip
op-kernel-dev-da788acb28386aa896224e784954bb73c99ff26c.tar.gz
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> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/clk-ppc-corenet.c')
-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 8b284be..8e58edf 100644
--- a/drivers/clk/clk-ppc-corenet.c
+++ b/drivers/clk/clk-ppc-corenet.c
@@ -291,7 +291,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,
OpenPOWER on IntegriCloud