diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-07-03 10:38:51 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> | 2005-07-03 10:38:51 -0400 |
commit | 97319630b21c2022a55d51a6cfbf53cbb84a2f42 (patch) | |
tree | 5d831d1f2a2c264e1d3dc55f6f2f967b7c7c010c /drivers/ide/pci/slc90e66.c | |
parent | 34a6224691e638dd36b393aa439d021a19578fcc (diff) |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/slc90e66.c b/drivers/ide/pci/slc90e66.c index 7fbf36342f73..5112c726633b 100644 --- a/drivers/ide/pci/slc90e66.c +++ b/drivers/ide/pci/slc90e66.c | |||
@@ -196,7 +196,7 @@ fast_ata_pio: | |||
196 | } | 196 | } |
197 | #endif /* CONFIG_BLK_DEV_IDEDMA */ | 197 | #endif /* CONFIG_BLK_DEV_IDEDMA */ |
198 | 198 | ||
199 | static void __init init_hwif_slc90e66 (ide_hwif_t *hwif) | 199 | static void __devinit init_hwif_slc90e66 (ide_hwif_t *hwif) |
200 | { | 200 | { |
201 | u8 reg47 = 0; | 201 | u8 reg47 = 0; |
202 | u8 mask = hwif->channel ? 0x01 : 0x02; /* bit0:Primary */ | 202 | u8 mask = hwif->channel ? 0x01 : 0x02; /* bit0:Primary */ |