summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2021-09-25 22:32:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-05 12:36:25 +0200
commitdf86c6e27a80dec09ba854eaa5ccfffc6dc9d289 (patch)
treec8e8e535549b00d7261832aec52a80b9c2bed8de
parent1958beb80a603d090b8e66f8c3407360bd2d4bed (diff)
downloadlinux-df86c6e27a80dec09ba854eaa5ccfffc6dc9d289.tar.gz
linux-df86c6e27a80dec09ba854eaa5ccfffc6dc9d289.tar.bz2
linux-df86c6e27a80dec09ba854eaa5ccfffc6dc9d289.zip
Revert "staging: mt7621-pci: set end limit for 'ioport_resource'"
This reverts commit 50fb34eca2944fd67493717c9fbda125336f1655. Since IO_SPACE_LIMIT is not really being changed there is no real need to adjust the ioport_resource end limit. Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Link: https://lore.kernel.org/r/20210925203224.10419-3-sergio.paracuellos@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/mt7621-pci/pci-mt7621.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c
index 86d9c3d122e2..6acfc94a16e7 100644
--- a/drivers/staging/mt7621-pci/pci-mt7621.c
+++ b/drivers/staging/mt7621-pci/pci-mt7621.c
@@ -526,8 +526,6 @@ static int mt7621_pci_probe(struct platform_device *pdev)
if (!dev->of_node)
return -ENODEV;
- ioport_resource.end = IO_SPACE_LIMIT;
-
bridge = devm_pci_alloc_host_bridge(dev, sizeof(*pcie));
if (!bridge)
return -ENOMEM;