[2.6 patch] drivers/ide/pci/sis5513.c: section fixes
From: Adrian Bunk
Date: Wed Apr 20 2005 - 23:35:24 EST
These three functions are referenced from the __devinitdata
sis5513_chipset.
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
---
drivers/ide/pci/sis5513.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.12-rc3/drivers/ide/pci/sis5513.c.old 2005-04-21 04:26:36.000000000 +0200
+++ linux-2.6.12-rc3/drivers/ide/pci/sis5513.c 2005-04-21 04:27:32.000000000 +0200
@@ -726,7 +726,7 @@
*/
/* Chip detection and general config */
-static unsigned int __init init_chipset_sis5513 (struct pci_dev *dev, const char *name)
+static unsigned int __devinit init_chipset_sis5513 (struct pci_dev *dev, const char *name)
{
struct pci_dev *host;
int i = 0;
@@ -879,7 +879,7 @@
return 0;
}
-static unsigned int __init ata66_sis5513 (ide_hwif_t *hwif)
+static unsigned int __devinit ata66_sis5513 (ide_hwif_t *hwif)
{
u8 ata66 = 0;
@@ -897,7 +897,7 @@
return ata66;
}
-static void __init init_hwif_sis5513 (ide_hwif_t *hwif)
+static void __devinit init_hwif_sis5513 (ide_hwif_t *hwif)
{
hwif->autodma = 0;
-
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/