From 257671615b5a915e7fe5767990487bbccaf2b4a1 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 16 Mar 2015 07:39:52 +0000 Subject: lantiq: drop 3.14 support Signed-off-by: John Crispin SVN-Revision: 44812 --- .../0151-lantiq-ifxmips_pcie-use-of.patch | 51 ---------------------- 1 file changed, 51 deletions(-) delete mode 100644 target/linux/lantiq/patches-3.14/0151-lantiq-ifxmips_pcie-use-of.patch (limited to 'target/linux/lantiq/patches-3.14/0151-lantiq-ifxmips_pcie-use-of.patch') diff --git a/target/linux/lantiq/patches-3.14/0151-lantiq-ifxmips_pcie-use-of.patch b/target/linux/lantiq/patches-3.14/0151-lantiq-ifxmips_pcie-use-of.patch deleted file mode 100644 index 04de41b..0000000 --- a/target/linux/lantiq/patches-3.14/0151-lantiq-ifxmips_pcie-use-of.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- a/arch/mips/pci/ifxmips_pcie.c -+++ b/arch/mips/pci/ifxmips_pcie.c -@@ -18,6 +18,8 @@ - #include - #include - -+#include -+ - #include "ifxmips_pcie.h" - #include "ifxmips_pcie_reg.h" - -@@ -1048,7 +1050,7 @@ pcie_rc_initialize(int pcie_port) - extern int (*ltq_pci_plat_arch_init)(struct pci_dev *dev); - extern int (*ltq_pci_map_irq)(const struct pci_dev *dev, u8 slot, u8 pin); - --static int __init ifx_pcie_bios_init(void) -+static int __init ifx_pcie_bios_probe(struct platform_device *pdev) - { - void __iomem *io_map_base; - int pcie_port; -@@ -1090,6 +1092,30 @@ static int __init ifx_pcie_bios_init(voi - - return 0; - } -+ -+static const struct of_device_id ifxmips_pcie_match[] = { -+ { .compatible = "lantiq,pcie-xrx200" }, -+ {}, -+}; -+MODULE_DEVICE_TABLE(of, ifxmips_pcie_match); -+ -+static struct platform_driver ltq_pci_driver = { -+ .probe = ifx_pcie_bios_probe, -+ .driver = { -+ .name = "pcie-xrx200", -+ .owner = THIS_MODULE, -+ .of_match_table = ifxmips_pcie_match, -+ }, -+}; -+ -+int __init ifx_pcie_bios_init(void) -+{ -+ int ret = platform_driver_register(<q_pci_driver); -+ if (ret) -+ pr_info("pcie-xrx200: Error registering platform driver!"); -+ return ret; -+} -+ - arch_initcall(ifx_pcie_bios_init); - - MODULE_LICENSE("GPL"); -- cgit v1.1