]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/pci/piix.c
ide: ->cable_detect method cannot be marked __devinit
[linux-2.6-omap-h63xx.git] / drivers / ide / pci / piix.c
index 7fc3022dcf684edb037c9e0649f655bbc7ae96b0..30cfc815fe3112799975ae7f4616b0793cd00ce9 100644 (file)
@@ -256,7 +256,7 @@ static const struct ich_laptop ich_laptop[] = {
        { 0, }
 };
 
-static u8 __devinit piix_cable_detect(ide_hwif_t *hwif)
+static u8 piix_cable_detect(ide_hwif_t *hwif)
 {
        struct pci_dev *pdev = to_pci_dev(hwif->dev);
        const struct ich_laptop *lap = &ich_laptop[0];