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>
This commit is contained in:
parent
1958beb80a
commit
df86c6e27a
@ -526,8 +526,6 @@ static int mt7621_pci_probe(struct platform_device *pdev)
|
|||||||
if (!dev->of_node)
|
if (!dev->of_node)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
ioport_resource.end = IO_SPACE_LIMIT;
|
|
||||||
|
|
||||||
bridge = devm_pci_alloc_host_bridge(dev, sizeof(*pcie));
|
bridge = devm_pci_alloc_host_bridge(dev, sizeof(*pcie));
|
||||||
if (!bridge)
|
if (!bridge)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user