summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHerbert Xu2005-07-03 16:33:16 +0200
committerBartlomiej Zolnierkiewicz2005-07-03 16:33:16 +0200
commit9307145700e869dd410d565477f98377e93e9160 (patch)
treebb887910e3dcef3b084a078004548268786d8166 /drivers
parent[PATCH] ide: hotplug mark __devinit ns87415.c (diff)
downloadkernel-qcow2-linux-9307145700e869dd410d565477f98377e93e9160.tar.gz
kernel-qcow2-linux-9307145700e869dd410d565477f98377e93e9160.tar.xz
kernel-qcow2-linux-9307145700e869dd410d565477f98377e93e9160.zip
[PATCH] ide: hotplug mark __devinit opti621.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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/pci/opti621.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/opti621.c b/drivers/ide/pci/opti621.c
index cf4fd91d396a..7a7c2ef78ac2 100644
--- a/drivers/ide/pci/opti621.c
+++ b/drivers/ide/pci/opti621.c
@@ -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;