Commit d6904ab6 authored by Herbert Xu's avatar Herbert Xu Committed by Bartlomiej Zolnierkiewicz

[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: default avatarmaximilian attems <janitor@sternwelten.at>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
parent 97319630
...@@ -130,7 +130,7 @@ static int triflex_config_drive_xfer_rate(ide_drive_t *drive) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment