]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ide: hotplug mark __devinit opti621.c
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 3 Jul 2005 14:33:16 +0000 (16:33 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Sun, 3 Jul 2005 14:33:16 +0000 (16:33 +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/opti621.c

index cf4fd91d396aa39febb8f3c49788d21421801d4d..7a7c2ef78ac28a7a5ab5096d5c3fdb1565667566 100644 (file)
@@ -326,7 +326,7 @@ static void opti621_tune_drive (ide_drive_t *drive, u8 pio)
 /*
  * init_hwif_opti621() is called once for each hwif found at boot.
  */
-static void __init init_hwif_opti621 (ide_hwif_t *hwif)
+static void __devinit init_hwif_opti621 (ide_hwif_t *hwif)
 {
        hwif->autodma = 0;
        hwif->drives[0].drive_data = PIO_DONT_KNOW;