Skip to contentSkip to conversation

ide hotplug mark __devinit sc1200.c

PATCH In review maximilian attems 1 participant 1 message Jun 26, 2005 libata

lore
Share & tools
lore
#0 lore raw

PATCH 9/13 ide hotplug mark __devinit sc1200.c

From: Herbert Xu <[email protected]>

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

drivers/ide/pci/sc1200.c +1 -1
diff -aurN a/drivers/ide/pci/sc1200.c b/drivers/ide/pci/sc1200.c
@@ -459,7 +459,7 @@
  * 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;