Skip to contentSkip to conversation

drivers/ide/pci/sis5513.c: section fixes

PATCH New Adrian Bunk 1 participant 1 message Apr 30, 2005 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/ide/pci/sis5513.c: section fixes

These three functions are referenced from the __devinitdata sis5513_chipset.

---

This patch was already sent on:
- 21 Apr 2005

 drivers/ide/pci/sis5513.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/ide/pci/sis5513.c renamed from drivers/ide/pci/sis5513.c.old +3 -3
@@ -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;