sh: pci: Kill off unused SH4_PCIC_NO_RESET code.
[pandora-kernel.git] / arch / sh / drivers / pci / ops-snapgear.c
index 53dd893..dd2c5df 100644 (file)
@@ -40,7 +40,7 @@ static struct resource sh7751_mem_resource = {
 };
 
 struct pci_channel board_pci_channels[] = {
-       { &sh4_pci_ops, &sh7751_io_resource, &sh7751_mem_resource, 0, 0xff },
+       { sh7751_pci_init, &sh4_pci_ops, &sh7751_io_resource, &sh7751_mem_resource, 0, 0xff },
        { 0, }
 };
 
@@ -54,8 +54,6 @@ static struct sh4_pci_address_map sh7751_pci_map = {
                .base   = SH7751_CS2_BASE_ADDR,
                .size   = SNAPGEAR_LSR1_SIZE,
        },
-
-       .flags  = SH4_PCIC_NO_RESET,
 };
 
 /*
@@ -66,7 +64,7 @@ static struct sh4_pci_address_map sh7751_pci_map = {
  */
 int __init pcibios_init_platform(void)
 {
-       return sh7751_pcic_init(&sh7751_pci_map);
+       return sh7751_pcic_init(&board_pci_channels[0], &sh7751_pci_map);
 }
 
 int __init pcibios_map_platform_irq(struct pci_dev *pdev, u8 slot, u8 pin)