summaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers/pci/pci-lib.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-04-20 12:48:48 +0200
committerPaul Mundt <lethal@linux-sh.org>2009-04-20 12:48:48 +0200
commit0e75148108914062cb46ad3dc8f054a628018df7 (patch)
treeeff47aed6df8f388be8755d5eea3ce6be8ea6056 /arch/sh/drivers/pci/pci-lib.c
parentsh: pci: Kill off dead references to is_pci_ioaddr and friends. (diff)
downloadlinux-0e75148108914062cb46ad3dc8f054a628018df7.tar.xz
linux-0e75148108914062cb46ad3dc8f054a628018df7.zip
sh: pci: Consolidate pcibios_setup() in pci-lib.
This wasn't really being used for anything useful, so just stub it in pci-lib. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to '')
-rw-r--r--arch/sh/drivers/pci/pci-lib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/drivers/pci/pci-lib.c b/arch/sh/drivers/pci/pci-lib.c
index ea8362945849..f072acafce6c 100644
--- a/arch/sh/drivers/pci/pci-lib.c
+++ b/arch/sh/drivers/pci/pci-lib.c
@@ -134,6 +134,11 @@ void __init pcibios_update_irq(struct pci_dev *dev, int irq)
pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq);
}
+char * __devinit pcibios_setup(char *str)
+{
+ return str;
+}
+
int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
enum pci_mmap_state mmap_state, int write_combine)
{