sh: pci: Kill off unused SH4_PCIC_NO_RESET code.
[pandora-kernel.git] / arch / sh / drivers / pci / ops-r7780rp.c
index 8555238..8ec6d22 100644 (file)
@@ -43,10 +43,9 @@ static struct resource sh7780_mem_resource = {
 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        = {
@@ -58,11 +57,9 @@ static struct sh4_pci_address_map sh7780_pci_map = {
                .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);
 }