sh: add init member to pci_channel data
[pandora-kernel.git] / arch / sh / drivers / pci / ops-se7780.c
index 3145c62..76a74fb 100644 (file)
@@ -58,7 +58,7 @@ static struct resource se7780_mem_resource = {
 extern struct pci_ops se7780_pci_ops;
 
 struct pci_channel board_pci_channels[] = {
-       { &sh4_pci_ops, &se7780_io_resource, &se7780_mem_resource, 0, 0xff },
+       { sh7780_pci_init, &sh4_pci_ops, &se7780_io_resource, &se7780_mem_resource, 0, 0xff },
        { NULL, NULL, NULL, 0, 0 },
 };
 EXPORT_SYMBOL(board_pci_channels);
@@ -92,5 +92,5 @@ int __init pcibios_init_platform(void)
        ctrl_outw(0x0013, FPGA_PCI_INTSEL1);
        ctrl_outw(0xE402, FPGA_PCI_INTSEL2);
 
-       return sh7780_pcic_init(&se7780_pci_map);
+       return sh7780_pcic_init(&board_pci_channels[0], &se7780_pci_map);
 }