diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-07-03 10:23:08 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> | 2005-07-03 10:23:08 -0400 |
commit | 88de8e996f16b958721368ed9b4fd4e29cdb923e (patch) | |
tree | 24f89d1a1f739a4c48376e11b8a73c1f46a71ccb | |
parent | e895f926cd8b6d50a42cc985d470bdc9a70caeed (diff) |
[PATCH] ide: hotplug mark __devinit cs5530.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>
-rw-r--r-- | drivers/ide/pci/cs5530.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/cs5530.c b/drivers/ide/pci/cs5530.c index 0381961db263..09269e574b3e 100644 --- a/drivers/ide/pci/cs5530.c +++ b/drivers/ide/pci/cs5530.c | |||
@@ -217,7 +217,7 @@ static int cs5530_config_dma (ide_drive_t *drive) | |||
217 | * Initialize the cs5530 bridge for reliable IDE DMA operation. | 217 | * Initialize the cs5530 bridge for reliable IDE DMA operation. |
218 | */ | 218 | */ |
219 | 219 | ||
220 | static unsigned int __init init_chipset_cs5530 (struct pci_dev *dev, const char *name) | 220 | static unsigned int __devinit init_chipset_cs5530 (struct pci_dev *dev, const char *name) |
221 | { | 221 | { |
222 | struct pci_dev *master_0 = NULL, *cs5530_0 = NULL; | 222 | struct pci_dev *master_0 = NULL, *cs5530_0 = NULL; |
223 | unsigned long flags; | 223 | unsigned long flags; |
@@ -308,7 +308,7 @@ static unsigned int __init init_chipset_cs5530 (struct pci_dev *dev, const char | |||
308 | * performs channel-specific pre-initialization before drive probing. | 308 | * performs channel-specific pre-initialization before drive probing. |
309 | */ | 309 | */ |
310 | 310 | ||
311 | static void __init init_hwif_cs5530 (ide_hwif_t *hwif) | 311 | static void __devinit init_hwif_cs5530 (ide_hwif_t *hwif) |
312 | { | 312 | { |
313 | unsigned long basereg; | 313 | unsigned long basereg; |
314 | u32 d0_timings; | 314 | u32 d0_timings; |