Skip to content

Commit

Permalink
[PATCH] ide: hotplug mark __devinit cs5530.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Herbert Xu authored and Bartlomiej Zolnierkiewicz committed Jul 3, 2005
1 parent e895f92 commit 88de8e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/ide/pci/cs5530.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ static int cs5530_config_dma (ide_drive_t *drive)
* 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;
unsigned long flags;
Expand Down Expand Up @@ -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.
*/

static void __init init_hwif_cs5530 (ide_hwif_t *hwif)
static void __devinit init_hwif_cs5530 (ide_hwif_t *hwif)
{
unsigned long basereg;
u32 d0_timings;
Expand Down

0 comments on commit 88de8e9

Please sign in to comment.