summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHerbert Xu2005-07-03 16:31:04 +0200
committerBartlomiej Zolnierkiewicz2005-07-03 16:31:04 +0200
commitc20530ed26e5b9e3b188b4088d0a5ab1d773a529 (patch)
tree5c68ff26c3c1fe342cc095a1a53b2d1aedada684 /drivers
parent[PATCH] ide: hotplug mark __devinit it8172.c (diff)
downloadkernel-qcow2-linux-c20530ed26e5b9e3b188b4088d0a5ab1d773a529.tar.gz
kernel-qcow2-linux-c20530ed26e5b9e3b188b4088d0a5ab1d773a529.tar.xz
kernel-qcow2-linux-c20530ed26e5b9e3b188b4088d0a5ab1d773a529.zip
[PATCH] ide: hotplug mark __devinit ns87415.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/ns87415.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/ns87415.c b/drivers/ide/pci/ns87415.c
index 205a32fbc2f0..fcd5142f5cfe 100644
--- a/drivers/ide/pci/ns87415.c
+++ b/drivers/ide/pci/ns87415.c
@@ -195,7 +195,7 @@ static int ns87415_ide_dma_check (ide_drive_t *drive)
return __ide_dma_check(drive);
}
-static void __init init_hwif_ns87415 (ide_hwif_t *hwif)
+static void __devinit init_hwif_ns87415 (ide_hwif_t *hwif)
{
struct pci_dev *dev = hwif->pci_dev;
unsigned int ctrl, using_inta;