Skip to contentSkip to conversation

__devinit in pci/generic.c

PATCH New Andries Brouwer 1 participant 1 message Nov 13, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 __devinit in pci/generic.c

Routines referred to from __devinitdata.

drivers/ide/pci/generic.c +2 -2
diff -uprN -X /linux/dontdiff a/drivers/ide/pci/generic.c b/drivers/ide/pci/generic.c
@@ -41,12 +41,12 @@
 
 #include "generic.h"
 
-static unsigned int __init init_chipset_generic (struct pci_dev *dev, const char *name)
+static unsigned int __devinit init_chipset_generic (struct pci_dev *dev, const char *name)
 {
 	return 0;
 }
 
-static void __init init_hwif_generic (ide_hwif_t *hwif)
+static void __devinit init_hwif_generic (ide_hwif_t *hwif)
 {
 	switch(hwif->pci_dev->device) {
 		case PCI_DEVICE_ID_UMC_UM8673F: