[PATCH] ide: hotplug mark __devinit triflex.c
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 3 Jul 2005 14:40:31 +0000 (16:40 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Sun, 3 Jul 2005 14:40:31 +0000 (16:40 +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/triflex.c

index a1df2bfe3631cbe5136bbff562727044550ae54b..f96b56838f339fb33de1d7d6b26972628c88daf2 100644 (file)
@@ -130,7 +130,7 @@ static int triflex_config_drive_xfer_rate(ide_drive_t *drive)
        return hwif->ide_dma_off_quietly(drive);
 }
 
-static void __init init_hwif_triflex(ide_hwif_t *hwif)
+static void __devinit init_hwif_triflex(ide_hwif_t *hwif)
 {
        hwif->tuneproc = &triflex_tune_drive;
        hwif->speedproc = &triflex_tune_chipset;