summaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers/pci/ops-sh7785lcr.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-03-11 16:12:39 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-04-16 16:00:15 +0900
commit3aabce8d3d2f9af2c08c2f590ac9acb272ca8c95 (patch)
tree951cb912d729b04c102f3bea28a56bfb64db66d3 /arch/sh/drivers/pci/ops-sh7785lcr.c
parent10591578c84825a320734e59272f161385edcc41 (diff)
sh: sh7785lcr: Update for recent PCI changes.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/drivers/pci/ops-sh7785lcr.c')
-rw-r--r--arch/sh/drivers/pci/ops-sh7785lcr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/drivers/pci/ops-sh7785lcr.c b/arch/sh/drivers/pci/ops-sh7785lcr.c
index 2a9f9a599d6..afbb9bd4751 100644
--- a/arch/sh/drivers/pci/ops-sh7785lcr.c
+++ b/arch/sh/drivers/pci/ops-sh7785lcr.c
@@ -41,7 +41,7 @@ static struct resource sh7785_mem_resource = {
};
struct pci_channel board_pci_channels[] = {
- { &sh4_pci_ops, &sh7785_io_resource, &sh7785_mem_resource, 0, 0xff },
+ { sh7780_pci_init, &sh4_pci_ops, &sh7785_io_resource, &sh7785_mem_resource, 0, 0xff },
{ NULL, NULL, NULL, 0, 0 },
};
@@ -61,5 +61,5 @@ static struct sh4_pci_address_map sh7785_pci_map = {
int __init pcibios_init_platform(void)
{
- return sh7780_pcic_init(&sh7785_pci_map);
+ return sh7780_pcic_init(&board_pci_channels[0], &sh7785_pci_map);
}