aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-02-12 01:24:37 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2017-02-12 01:29:41 +0100
commit136d4a06562c84d33834df3eacae8a6bb59b1c07 (patch)
tree3a3ecb5ca0a3b686dcedbb1286fdff3ba7889d7b /target/linux/lantiq
parent2eed1179beb717e4fe17609764f1a1bb30aed88e (diff)
downloadupstream-136d4a06562c84d33834df3eacae8a6bb59b1c07.tar.gz
upstream-136d4a06562c84d33834df3eacae8a6bb59b1c07.tar.bz2
upstream-136d4a06562c84d33834df3eacae8a6bb59b1c07.zip
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>
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/patches-4.4/0151-lantiq-ifxmips_pcie-use-of.patch2
-rw-r--r--target/linux/lantiq/patches-4.9/0151-lantiq-ifxmips_pcie-use-of.patch2
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 75f1bfbcf0..03d43c241f 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 75f1bfbcf0..03d43c241f 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;