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

index 3bc3bf1be49bd71bba7ba43e101f020dd0aed54b..10592cec6c43aca4e7bdf2443cff2d0dde5ca402 100644 (file)
@@ -459,7 +459,7 @@ printk("%s: SC1200: resume\n", hwif->name);
  * This gets invoked by the IDE driver once for each channel,
  * and performs channel-specific pre-initialization before drive probing.
  */
-static void __init init_hwif_sc1200 (ide_hwif_t *hwif)
+static void __devinit init_hwif_sc1200 (ide_hwif_t *hwif)
 {
        if (hwif->mate)
                hwif->serialized = hwif->mate->serialized = 1;