aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/slc90e66.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-07-03 16:38:51 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>2005-07-03 16:38:51 +0200
commit97319630b21c2022a55d51a6cfbf53cbb84a2f42 (patch)
tree5d831d1f2a2c264e1d3dc55f6f2f967b7c7c010c /drivers/ide/pci/slc90e66.c
parent34a6224691e638dd36b393aa439d021a19578fcc (diff)
downloadkernel_samsung_smdk4412-97319630b21c2022a55d51a6cfbf53cbb84a2f42.zip
kernel_samsung_smdk4412-97319630b21c2022a55d51a6cfbf53cbb84a2f42.tar.gz
kernel_samsung_smdk4412-97319630b21c2022a55d51a6cfbf53cbb84a2f42.tar.bz2
[PATCH] ide: hotplug mark __devinit slc90e66.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/ide/pci/slc90e66.c')
-rw-r--r--drivers/ide/pci/slc90e66.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/slc90e66.c b/drivers/ide/pci/slc90e66.c
index 7fbf363..5112c72 100644
--- a/drivers/ide/pci/slc90e66.c
+++ b/drivers/ide/pci/slc90e66.c
@@ -196,7 +196,7 @@ fast_ata_pio:
}
#endif /* CONFIG_BLK_DEV_IDEDMA */
-static void __init init_hwif_slc90e66 (ide_hwif_t *hwif)
+static void __devinit init_hwif_slc90e66 (ide_hwif_t *hwif)
{
u8 reg47 = 0;
u8 mask = hwif->channel ? 0x01 : 0x02; /* bit0:Primary */