Skip to contentSkip to conversation

ide hotplug mark __devinit cs5530.c

PATCH In review maximilian attems 1 participant 1 message Jun 26, 2005 libata

lore
Share & tools
lore
#0 lore raw

PATCH 4/13 ide hotplug mark __devinit cs5530.c

From: Herbert Xu <[email protected]>

mark the __init section __devinit.
Splitted up from the Debian kernel patch.

drivers/ide/pci/cs5530.c +2 -2
diff -aurN a/drivers/ide/pci/cs5530.c b/drivers/ide/pci/cs5530.c
@@ -217,7 +217,7 @@
  *	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;
@@ -308,7 +308,7 @@
  *	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;