Commit c53a2554 authored by Myron Stowe's avatar Myron Stowe Committed by Bjorn Helgaas
Browse files

sparc/PCI: factor out pcibios_setup()



The PCI core provides a generic pcibios_setup() routine.  Drop this
architecture-specific version in favor of that.

Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarMyron Stowe <myron.stowe@redhat.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent ce8dd71a
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -91,14 +91,6 @@ void __devinit pcibios_fixup_bus(struct pci_bus *pbus)
	}
}

/*
 * Other archs parse arguments here.
 */
char * __devinit pcibios_setup(char *str)
{
	return str;
}

resource_size_t pcibios_align_resource(void *data, const struct resource *res,
				resource_size_t size, resource_size_t align)
{
+0 −5
Original line number Diff line number Diff line
@@ -747,11 +747,6 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
	return 0;
}

char * __devinit pcibios_setup(char *str)
{
	return str;
}

/* Platform support for /proc/bus/pci/X/Y mmap()s. */

/* If the user uses a host-bridge as the PCI device, he may use
+0 −8
Original line number Diff line number Diff line
@@ -767,14 +767,6 @@ static void watchdog_reset() {
}
#endif

/*
 * Other archs parse arguments here.
 */
char * __devinit pcibios_setup(char *str)
{
	return str;
}

resource_size_t pcibios_align_resource(void *data, const struct resource *res,
				resource_size_t size, resource_size_t align)
{