Subject: gdth: Fixup section annotations
From: Hannes Reinecke <hare@suse.de>
Date: Tue Sep 30 2008 12:33:53 +0200
Patch-mainline: Not yet

Fixup section annotations so that kbuild doesn't complain anymore.

Signed-off-by: Hannes Reinecke <hare@suse.de>

---
 drivers/scsi/gdth.c |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

--- a/drivers/scsi/gdth.c
+++ b/drivers/scsi/gdth.c
@@ -330,7 +330,7 @@ static int irq[MAXHA] __initdata =
 {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff};
 /* disable driver flag */
-static int disable __initdata = 0;
+static int disable = 0;
 /* reserve flag */
 static int reserve_mode = 1;                  
 /* reserve list */
@@ -661,7 +661,7 @@ static int __devinit gdth_pci_init_one(s
 #endif /* CONFIG_PCI */
 
 #ifdef CONFIG_EISA
-static int __init gdth_init_eisa(u16 eisa_adr,gdth_ha_str *ha)
+static int __devinit gdth_init_eisa(u16 eisa_adr,gdth_ha_str *ha)
 {
     u32 retries,id;
     u8 prot_ver,eisacf,i,irq_found;
@@ -755,7 +755,7 @@ static int __init gdth_init_eisa(u16 eis
 #endif /* CONFIG_EISA */
 
 #ifdef CONFIG_ISA
-static int __init gdth_init_isa(u32 bios_adr,gdth_ha_str *ha)
+static int __devinit gdth_init_isa(u32 bios_adr,gdth_ha_str *ha)
 {
     register gdt2_dpram_str __iomem *dp2_ptr;
     int i;
@@ -4695,7 +4695,7 @@ static struct scsi_host_template gdth_te
 };
 
 #ifdef CONFIG_ISA
-static int __init gdth_isa_probe_one(u32 isa_bios)
+static int __devinit gdth_isa_probe_one(u32 isa_bios)
 {
 	struct Scsi_Host *shp;
 	gdth_ha_str *ha;
@@ -4827,7 +4827,7 @@ static int __init gdth_isa_probe_one(u32
 #endif /* CONFIG_ISA */
 
 #ifdef CONFIG_EISA
-static int __init gdth_eisa_probe_one(u16 eisa_slot)
+static int __devinit gdth_eisa_probe_one(u16 eisa_slot)
 {
 	struct Scsi_Host *shp;
 	gdth_ha_str *ha;
@@ -5163,7 +5163,7 @@ static struct notifier_block gdth_notifi
     gdth_halt, NULL, 0
 };
 
-static int __init gdth_init(void)
+static int __devinit gdth_init(void)
 {
 	if (disable) {
 		printk("GDT-HA: Controller driver disabled from"
@@ -5217,7 +5217,7 @@ static int __init gdth_init(void)
 	return 0;
 }
 
-static void __exit gdth_exit(void)
+static void __devexit gdth_exit(void)
 {
 	gdth_ha_str *ha;
 
