Skip to contentSkip to conversation

ide hotplug mark __devinit triflex.c

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

lore
Share & tools
lore
#0 lore raw

PATCH 12/13 ide hotplug mark __devinit triflex.c

From: Herbert Xu <[email protected]>

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

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