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 /target/linux/lantiq/patches-4.9 | |
parent | 2eed1179beb717e4fe17609764f1a1bb30aed88e (diff) | |
download | upstream-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/patches-4.9')
-rw-r--r-- | target/linux/lantiq/patches-4.9/0151-lantiq-ifxmips_pcie-use-of.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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; |