Skip to content

Commit

Permalink
[PATCH] ide: hotplug mark __devinit opti621.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Herbert Xu authored and Bartlomiej Zolnierkiewicz committed Jul 3, 2005
1 parent c20530e commit 9307145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/pci/opti621.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9307145

Please sign in to comment.