- Subject: [PATCH 09/16] sh/PCI: Factor 'pcibios_setup()' out of sh
- From: Myron Stowe <myron.stowe@xxxxxxxxxx>
- Date: Mon, 25 Jun 2012 21:31:58 -0600
- Cc: linux-pci@xxxxxxxxxxxxxxx, rth@xxxxxxxxxxx, ink@xxxxxxxxxxxxxxxxxxxx, mattst88@xxxxxxxxx, linux@xxxxxxxxxxxxxxxx, starvik@xxxxxxxx, jesper.nilsson@xxxxxxxx, tony.luck@xxxxxxxxx, fenghua.yu@xxxxxxxxx, monstr@xxxxxxxxx, ralf@xxxxxxxxxxxxxx, yasutake.koichi@xxxxxxxxxxxxxxxx, jejb@xxxxxxxxxxxxxxxx, deller@xxxxxx, benh@xxxxxxxxxxxxxxxxxxx, paulus@xxxxxxxxx, lethal@xxxxxxxxxxxx, davem@xxxxxxxxxxxxx, cmetcalf@xxxxxxxxxx, gxt@xxxxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, mingo@xxxxxxxxxx, hpa@xxxxxxxxx, x86@xxxxxxxxxx, chris@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
- In-reply-to: <20120626033045.16434.17412.stgit@amt.stowe>
- References: <20120626033045.16434.17412.stgit@amt.stowe>
- User-agent: StGIT/0.14.3
The PCI core provides a generic (__weak) 'pcibios_setup()' routine that can
be used by all architectures as a default. Drop sh's architecture specific
version in favor of that as it does not need to be over-ridden.
Signed-off-by: Myron Stowe <myron.stowe@xxxxxxxxxx>
---
arch/sh/drivers/pci/pci.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/arch/sh/drivers/pci/pci.c b/arch/sh/drivers/pci/pci.c
index 9d10a3c..7d42288 100644
--- a/arch/sh/drivers/pci/pci.c
+++ b/arch/sh/drivers/pci/pci.c
@@ -197,11 +197,6 @@ void __init pcibios_update_irq(struct pci_dev *dev, int irq)
pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq);
}
-char * __devinit __weak pcibios_setup(char *str)
-{
- return str;
-}
-
static void __init
pcibios_bus_report_status_early(struct pci_channel *hose,
int top_bus, int current_bus,
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Home]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]