aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Medve <Emilian.Medve@Freescale.com>2015-01-22 09:47:20 -0500
committerJoerg Roedel <jroedel@suse.de>2015-01-26 07:49:02 -0500
commit0f1fb99b62ce226f8d818852f812c5d79071ce58 (patch)
tree3f975718916af5ac612806e26fab3ffc110a0106
parent26bc420b59a38e4e6685a73345a0def461136dce (diff)
iommu/fsl: Fix section mismatch
Section mismatch in reference from the variable fsl_of_pamu_driver to the function .init.text:fsl_pamu_probe() The variable fsl_of_pamu_driver references the function __init fsl_pamu_probe() 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: Emil Medve <Emilian.Medve@Freescale.com> Acked-by: Varun Sethi <Varun.Sethi@freescale.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
-rw-r--r--drivers/iommu/fsl_pamu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c
index 80ac68d884c5..d478ad87073f 100644
--- a/drivers/iommu/fsl_pamu.c
+++ b/drivers/iommu/fsl_pamu.c
@@ -1224,7 +1224,7 @@ static const struct of_device_id fsl_of_pamu_ids[] = {
1224 {}, 1224 {},
1225}; 1225};
1226 1226
1227static struct platform_driver fsl_of_pamu_driver = { 1227static struct platform_driver fsl_of_pamu_driver __initdata = {
1228 .driver = { 1228 .driver = {
1229 .name = "fsl-of-pamu", 1229 .name = "fsl-of-pamu",
1230 }, 1230 },