extern struct pci_ops sh7780_pci_ops;
struct pci_channel board_pci_channels[] = {
- { &sh4_pci_ops, &sh7780_io_resource, &sh7780_mem_resource, 0, 0xff },
+ { sh7780_pci_init, &sh4_pci_ops, &sh7780_io_resource, &sh7780_mem_resource, 0, 0xff },
{ NULL, NULL, NULL, 0, 0 },
};
-EXPORT_SYMBOL(board_pci_channels);
static struct sh4_pci_address_map sh7780_pci_map = {
.window0 = {
.base = SH7780_CS3_BASE_ADDR,
.size = 0x04000000,
},
-
- .flags = SH4_PCIC_NO_RESET,
};
int __init pcibios_init_platform(void)
{
- return sh7780_pcic_init(&sh7780_pci_map);
+ return sh7780_pcic_init(&board_pci_channels[0], &sh7780_pci_map);
}