summaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers/pci/pci-sh7780.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-03-11 07:46:14 +0100
committerPaul Mundt <lethal@linux-sh.org>2009-04-16 09:00:12 +0200
commitd0e3db40e2a1352aa2a2f425a7d4631bddc03d51 (patch)
tree275392db569a7f3808d8f86cfcb4874bfe81f997 /arch/sh/drivers/pci/pci-sh7780.h
parentsh: pass along struct pci_channel (diff)
downloadlinux-d0e3db40e2a1352aa2a2f425a7d4631bddc03d51.tar.xz
linux-d0e3db40e2a1352aa2a2f425a7d4631bddc03d51.zip
sh: add init member to pci_channel data
This patch adds an init callback to struct pci_channel and makes sure it is initialized properly. Code is added to call this init function from pcibios_init(). Return values are adjusted and a warning is is printed if init fails. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/drivers/pci/pci-sh7780.h')
-rw-r--r--arch/sh/drivers/pci/pci-sh7780.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/drivers/pci/pci-sh7780.h b/arch/sh/drivers/pci/pci-sh7780.h
index d34961153d58..2f3c92065ec3 100644
--- a/arch/sh/drivers/pci/pci-sh7780.h
+++ b/arch/sh/drivers/pci/pci-sh7780.h
@@ -109,6 +109,7 @@
struct sh4_pci_address_map;
/* arch/sh/drivers/pci/pci-sh7780.c */
+int sh7780_pci_init(struct pci_channel *chan);
int sh7780_pcic_init(struct pci_channel *chan,
struct sh4_pci_address_map *map);