]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/ide/pci/cs5535.c
ide: ->cable_detect method cannot be marked __devinit
[mirror_ubuntu-zesty-kernel.git] / drivers / ide / pci / cs5535.c
index f7b50cdeefa68861b261bf2bd6c9222ba13cac5b..dd3dc23af9951c0c705c9e324a9fc33c2380fb09 100644 (file)
@@ -153,7 +153,7 @@ static void cs5535_set_pio_mode(ide_drive_t *drive, const u8 pio)
        cs5535_set_speed(drive, XFER_PIO_0 + pio);
 }
 
-static u8 __devinit cs5535_cable_detect(ide_hwif_t *hwif)
+static u8 cs5535_cable_detect(ide_hwif_t *hwif)
 {
        struct pci_dev *dev = to_pci_dev(hwif->dev);
        u8 bit;