diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2017-02-12 01:24:37 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2017-02-12 01:29:41 +0100 |
commit | 136d4a06562c84d33834df3eacae8a6bb59b1c07 (patch) | |
tree | 3a3ecb5ca0a3b686dcedbb1286fdff3ba7889d7b | |
parent | 2eed1179beb717e4fe17609764f1a1bb30aed88e (diff) | |
download | mtk-20170518-136d4a06562c84d33834df3eacae8a6bb59b1c07.zip mtk-20170518-136d4a06562c84d33834df3eacae8a6bb59b1c07.tar.gz mtk-20170518-136d4a06562c84d33834df3eacae8a6bb59b1c07.tar.bz2 |
lantiq: fix section mismatch in PCIe driver
Do not put the probe function into the __init section, but use the normal
section. This fixes a section mismatch warning.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r-- | target/linux/lantiq/patches-4.4/0151-lantiq-ifxmips_pcie-use-of.patch | 2 | ||||
-rw-r--r-- | target/linux/lantiq/patches-4.9/0151-lantiq-ifxmips_pcie-use-of.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/lantiq/patches-4.4/0151-lantiq-ifxmips_pcie-use-of.patch b/target/linux/lantiq/patches-4.4/0151-lantiq-ifxmips_pcie-use-of.patch index 75f1bfb..03d43c2 100644 --- a/target/linux/lantiq/patches-4.4/0151-lantiq-ifxmips_pcie-use-of.patch +++ b/target/linux/lantiq/patches-4.4/0151-lantiq-ifxmips_pcie-use-of.patch @@ -46,7 +46,7 @@ } -static int __init ifx_pcie_bios_init(void) -+static int __init ifx_pcie_bios_probe(struct platform_device *pdev) ++static int ifx_pcie_bios_probe(struct platform_device *pdev) { + struct device_node *node = pdev->dev.of_node; void __iomem *io_map_base; diff --git a/target/linux/lantiq/patches-4.9/0151-lantiq-ifxmips_pcie-use-of.patch b/target/linux/lantiq/patches-4.9/0151-lantiq-ifxmips_pcie-use-of.patch index 75f1bfb..03d43c2 100644 --- a/target/linux/lantiq/patches-4.9/0151-lantiq-ifxmips_pcie-use-of.patch +++ b/target/linux/lantiq/patches-4.9/0151-lantiq-ifxmips_pcie-use-of.patch @@ -46,7 +46,7 @@ } -static int __init ifx_pcie_bios_init(void) -+static int __init ifx_pcie_bios_probe(struct platform_device *pdev) ++static int ifx_pcie_bios_probe(struct platform_device *pdev) { + struct device_node *node = pdev->dev.of_node; void __iomem *io_map_base; |