projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34a6224
)
[PATCH] ide: hotplug mark __devinit slc90e66.c
author
Herbert Xu
<herbert@gondor.apana.org.au>
Sun, 3 Jul 2005 14:38:51 +0000
(16:38 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@elka.pw.edu.pl>
Sun, 3 Jul 2005 14:38:51 +0000
(16:38 +0200)
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>
drivers/ide/pci/slc90e66.c
patch
|
blob
|
history
diff --git
a/drivers/ide/pci/slc90e66.c
b/drivers/ide/pci/slc90e66.c
index 7fbf36342f73bac5a119907f94628bad2cc1d32f..5112c726633bafde6685d326b29a0f38c870b97b 100644
(file)
--- 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 __
dev
init init_hwif_slc90e66 (ide_hwif_t *hwif)
{
u8 reg47 = 0;
u8 mask = hwif->channel ? 0x01 : 0x02; /* bit0:Primary */