]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/pci/pdc202xx_new.c
ide: ->cable_detect method cannot be marked __devinit
[linux-2.6-omap-h63xx.git] / drivers / ide / pci / pdc202xx_new.c
index 998615fa285fc0f294dc91c5719aebd18830b97f..0f609b72f47003e710e68ea04c0c093e5fe83eb8 100644 (file)
@@ -193,7 +193,7 @@ static void pdcnew_set_pio_mode(ide_drive_t *drive, const u8 pio)
        }
 }
 
-static u8 __devinit pdcnew_cable_detect(ide_hwif_t *hwif)
+static u8 pdcnew_cable_detect(ide_hwif_t *hwif)
 {
        if (get_indexed_reg(hwif, 0x0b) & 0x04)
                return ATA_CBL_PATA40;