[PATCH] __devinit in pci/generic.c

From: Andries Brouwer
Date: Sat Nov 13 2004 - 14:56:14 EST


Routines referred to from __devinitdata.

diff -uprN -X /linux/dontdiff a/drivers/ide/pci/generic.c b/drivers/ide/pci/generic.c
--- a/drivers/ide/pci/generic.c 2004-10-30 21:44:00.000000000 +0200
+++ b/drivers/ide/pci/generic.c 2004-11-13 20:56:09.000000000 +0100
@@ -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:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/