Commit 88de8e99 authored by Herbert Xu's avatar Herbert Xu Committed by Bartlomiej Zolnierkiewicz

[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: default avatarmaximilian attems <janitor@sternwelten.at>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
parent e895f926
...@@ -217,7 +217,7 @@ static int cs5530_config_dma (ide_drive_t *drive) ...@@ -217,7 +217,7 @@ static int cs5530_config_dma (ide_drive_t *drive)
* Initialize the cs5530 bridge for reliable IDE DMA operation. * Initialize the cs5530 bridge for reliable IDE DMA operation.
*/ */
static unsigned int __init init_chipset_cs5530 (struct pci_dev *dev, const char *name) static unsigned int __devinit init_chipset_cs5530 (struct pci_dev *dev, const char *name)
{ {
struct pci_dev *master_0 = NULL, *cs5530_0 = NULL; struct pci_dev *master_0 = NULL, *cs5530_0 = NULL;
unsigned long flags; unsigned long flags;
...@@ -308,7 +308,7 @@ static unsigned int __init init_chipset_cs5530 (struct pci_dev *dev, const char ...@@ -308,7 +308,7 @@ static unsigned int __init init_chipset_cs5530 (struct pci_dev *dev, const char
* performs channel-specific pre-initialization before drive probing. * performs channel-specific pre-initialization before drive probing.
*/ */
static void __init init_hwif_cs5530 (ide_hwif_t *hwif) static void __devinit init_hwif_cs5530 (ide_hwif_t *hwif)
{ {
unsigned long basereg; unsigned long basereg;
u32 d0_timings; u32 d0_timings;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment