Skip to contentSkip to conversation

ide hotplug mark __devinit opti621.c

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

lore
Share & tools
lore
#0 lore raw

PATCH 8/13 ide hotplug mark __devinit opti621.c

From: Herbert Xu <[email protected]>

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

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