[PATCH] ide: hotplug mark __devinit triflex.c
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>
This commit is contained in:
parent
97319630b2
commit
d6904ab66f
@ -130,7 +130,7 @@ static int triflex_config_drive_xfer_rate(ide_drive_t *drive)
|
|||||||
return hwif->ide_dma_off_quietly(drive);
|
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->tuneproc = &triflex_tune_drive;
|
||||||
hwif->speedproc = &triflex_tune_chipset;
|
hwif->speedproc = &triflex_tune_chipset;
|
||||||
|
Loading…
Reference in New Issue
Block a user