]> err.no Git - linux-2.6/commitdiff
[PATCH] ide: hotplug mark __devinit ns87415.c
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 3 Jul 2005 14:31:04 +0000 (16:31 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Sun, 3 Jul 2005 14:31:04 +0000 (16:31 +0200)
From: Herbert Xu <herbert@gondor.apana.org.au>

mark the __init section __devinit.
Splitted up from the Debian kernel patch.

Signed-off-by: maximilian attems <janitor@sternwelten.at>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
drivers/ide/pci/ns87415.c

index 205a32fbc2f0b8468940c821fe617e1e90b733ee..fcd5142f5cfe1fa7108269c008ac20f1c878a1c2 100644 (file)
@@ -195,7 +195,7 @@ static int ns87415_ide_dma_check (ide_drive_t *drive)
        return __ide_dma_check(drive);
 }
 
-static void __init init_hwif_ns87415 (ide_hwif_t *hwif)
+static void __devinit init_hwif_ns87415 (ide_hwif_t *hwif)
 {
        struct pci_dev *dev = hwif->pci_dev;
        unsigned int ctrl, using_inta;