[PATCH] ide: hotplug mark __devinit opti621.c

From: Herbert Xu <[email protected]>

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

Signed-off-by: maximilian attems <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
Herbert Xu 2005-07-03 16:33:16 +02:00 • committed by Bartlomiej Zolnierkiewicz
commit 9307145700

View 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;