diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2022-05-20 12:39:34 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2022-05-20 12:39:34 +0200 |
commit | 66994d68cd815f1e675851b61352e7d52f80cc45 (patch) | |
tree | 923711643fe15eff11d67308f49fc9eb88b036f7 /target/linux/bmips/files/drivers | |
parent | 0ad209709973830ff14cba3dd3c275015c0c548e (diff) | |
download | upstream-66994d68cd815f1e675851b61352e7d52f80cc45.tar.gz upstream-66994d68cd815f1e675851b61352e7d52f80cc45.tar.bz2 upstream-66994d68cd815f1e675851b61352e7d52f80cc45.zip |
bmips: remove linux 5.10 compatibility
A devent amount of patches have been upstreamed, so maintaining linux 5.10 on
this target makes no sense.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bmips/files/drivers')
3 files changed, 0 insertions, 22 deletions
diff --git a/target/linux/bmips/files/drivers/pci/controller/pci-bcm6348.c b/target/linux/bmips/files/drivers/pci/controller/pci-bcm6348.c index 085cc30eba..730068ae79 100644 --- a/target/linux/bmips/files/drivers/pci/controller/pci-bcm6348.c +++ b/target/linux/bmips/files/drivers/pci/controller/pci-bcm6348.c @@ -21,7 +21,6 @@ #include <linux/pci.h> #include <linux/reset.h> #include <linux/types.h> -#include <linux/version.h> #include <linux/vmalloc.h> #include "../pci.h" @@ -347,9 +346,6 @@ static struct pci_controller bcm6348_pci_controller = { .pci_ops = &bcm6348_pci_ops, .io_resource = &bcm6348_pci_io_resource, .mem_resource = &bcm6348_pci_mem_resource, -#if LINUX_VERSION_CODE < KERNEL_VERSION(5,13,0) - .busn_resource = &bcm6348_pci_busn_resource, -#endif }; #ifdef CONFIG_CARDBUS @@ -732,9 +728,7 @@ static int bcm6348_pci_probe(struct platform_device *pdev) struct device_node *np = dev->of_node; struct bcm6348_pci *priv = &bcm6348_pci; struct resource *res; -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,13,0) LIST_HEAD(resources); -#endif of_pci_check_probe_only(); @@ -777,9 +771,7 @@ static int bcm6348_pci_probe(struct platform_device *pdev) return -EINVAL; of_pci_parse_bus_range(np, &bcm6348_pci_busn_resource); -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,13,0) pci_add_resource(&resources, &bcm6348_pci_busn_resource); -#endif /* * Configuration accesses are done through IO space, remap 4 diff --git a/target/linux/bmips/files/drivers/pci/controller/pcie-bcm6318.c b/target/linux/bmips/files/drivers/pci/controller/pcie-bcm6318.c index 21d8e50063..d73bf850fb 100644 --- a/target/linux/bmips/files/drivers/pci/controller/pcie-bcm6318.c +++ b/target/linux/bmips/files/drivers/pci/controller/pcie-bcm6318.c @@ -227,9 +227,6 @@ static struct pci_controller bcm6318_pcie_controller = { .pci_ops = &bcm6318_pcie_ops, .io_resource = &bcm6318_pcie_io_resource, .mem_resource = &bcm6318_pcie_mem_resource, -#if LINUX_VERSION_CODE < KERNEL_VERSION(5,13,0) - .busn_resource = &bcm6318_pcie_busn_resource, -#endif }; static void bcm6318_pcie_reset(struct bcm6318_pcie *priv) @@ -308,9 +305,7 @@ static int bcm6318_pcie_probe(struct platform_device *pdev) struct bcm6318_pcie *priv = &bcm6318_pcie; struct resource *res; int ret; -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,13,0) LIST_HEAD(resources); -#endif of_pci_check_probe_only(); @@ -376,9 +371,7 @@ static int bcm6318_pcie_probe(struct platform_device *pdev) return -EINVAL; of_pci_parse_bus_range(np, &bcm6318_pcie_busn_resource); -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,13,0) pci_add_resource(&resources, &bcm6318_pcie_busn_resource); -#endif bcm6318_pcie_reset(priv); bcm6318_pcie_setup(priv); diff --git a/target/linux/bmips/files/drivers/pci/controller/pcie-bcm6328.c b/target/linux/bmips/files/drivers/pci/controller/pcie-bcm6328.c index 4c032cf3d9..f2f74fd5e6 100644 --- a/target/linux/bmips/files/drivers/pci/controller/pcie-bcm6328.c +++ b/target/linux/bmips/files/drivers/pci/controller/pcie-bcm6328.c @@ -210,9 +210,6 @@ static struct pci_controller bcm6328_pcie_controller = { .pci_ops = &bcm6328_pcie_ops, .io_resource = &bcm6328_pcie_io_resource, .mem_resource = &bcm6328_pcie_mem_resource, -#if LINUX_VERSION_CODE < KERNEL_VERSION(5,13,0) - .busn_resource = &bcm6328_pcie_busn_resource, -#endif }; static void bcm6328_pcie_reset(struct bcm6328_pcie *priv) @@ -297,9 +294,7 @@ static int bcm6328_pcie_probe(struct platform_device *pdev) struct resource *res; unsigned int i; int ret; -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,13,0) LIST_HEAD(resources); -#endif pm_runtime_enable(dev); pm_runtime_no_callbacks(dev); @@ -386,9 +381,7 @@ static int bcm6328_pcie_probe(struct platform_device *pdev) return -EINVAL; of_pci_parse_bus_range(np, &bcm6328_pcie_busn_resource); -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,13,0) pci_add_resource(&resources, &bcm6328_pcie_busn_resource); -#endif bcm6328_pcie_reset(priv); bcm6328_pcie_setup(priv); |