提交 0f1fb99b 编写于 作者: E Emil Medve 提交者: Joerg Roedel

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: NEmil Medve <Emilian.Medve@Freescale.com>
Acked-by: NVarun Sethi <Varun.Sethi@freescale.com>
Signed-off-by: NJoerg Roedel <jroedel@suse.de>
上级 26bc420b
...@@ -1224,7 +1224,7 @@ static const struct of_device_id fsl_of_pamu_ids[] = { ...@@ -1224,7 +1224,7 @@ static const struct of_device_id fsl_of_pamu_ids[] = {
{}, {},
}; };
static struct platform_driver fsl_of_pamu_driver = { static struct platform_driver fsl_of_pamu_driver __initdata = {
.driver = { .driver = {
.name = "fsl-of-pamu", .name = "fsl-of-pamu",
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册