Эх сурвалжийг харах

ide: add missing __init tags to IDE PCI host drivers

also change __devinit tag for sgiioc4.c:ioc4_ide_init() to __init

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Bartlomiej Zolnierkiewicz 18 жил өмнө
parent
commit
82ab1eeceb

+ 1 - 1
drivers/ide/pci/aec62xx.c

@@ -441,7 +441,7 @@ static struct pci_driver driver = {
 	.probe		= aec62xx_init_one,
 	.probe		= aec62xx_init_one,
 };
 };
 
 
-static int aec62xx_ide_init(void)
+static int __init aec62xx_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/alim15x3.c

@@ -907,7 +907,7 @@ static struct pci_driver driver = {
 	.probe		= alim15x3_init_one,
 	.probe		= alim15x3_init_one,
 };
 };
 
 
-static int ali15x3_ide_init(void)
+static int __init ali15x3_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/amd74xx.c

@@ -544,7 +544,7 @@ static struct pci_driver driver = {
 	.probe		= amd74xx_probe,
 	.probe		= amd74xx_probe,
 };
 };
 
 
-static int amd74xx_ide_init(void)
+static int __init amd74xx_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/atiixp.c

@@ -376,7 +376,7 @@ static struct pci_driver driver = {
 	.probe		= atiixp_init_one,
 	.probe		= atiixp_init_one,
 };
 };
 
 
-static int atiixp_ide_init(void)
+static int __init atiixp_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/cmd64x.c

@@ -793,7 +793,7 @@ static struct pci_driver driver = {
 	.probe		= cmd64x_init_one,
 	.probe		= cmd64x_init_one,
 };
 };
 
 
-static int cmd64x_ide_init(void)
+static int __init cmd64x_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/cs5520.c

@@ -260,7 +260,7 @@ static struct pci_driver driver = {
 	.probe		= cs5520_init_one,
 	.probe		= cs5520_init_one,
 };
 };
 
 
-static int cs5520_ide_init(void)
+static int __init cs5520_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/cs5530.c

@@ -374,7 +374,7 @@ static struct pci_driver driver = {
 	.probe		= cs5530_init_one,
 	.probe		= cs5530_init_one,
 };
 };
 
 
-static int cs5530_ide_init(void)
+static int __init cs5530_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/cy82c693.c

@@ -519,7 +519,7 @@ static struct pci_driver driver = {
 	.probe		= cy82c693_init_one,
 	.probe		= cy82c693_init_one,
 };
 };
 
 
-static int cy82c693_ide_init(void)
+static int __init cy82c693_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/generic.c

@@ -263,7 +263,7 @@ static struct pci_driver driver = {
 	.probe		= generic_init_one,
 	.probe		= generic_init_one,
 };
 };
 
 
-static int generic_ide_init(void)
+static int __init generic_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/hpt34x.c

@@ -265,7 +265,7 @@ static struct pci_driver driver = {
 	.probe		= hpt34x_init_one,
 	.probe		= hpt34x_init_one,
 };
 };
 
 
-static int hpt34x_ide_init(void)
+static int __init hpt34x_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/hpt366.c

@@ -1613,7 +1613,7 @@ static struct pci_driver driver = {
 	.probe		= hpt366_init_one,
 	.probe		= hpt366_init_one,
 };
 };
 
 
-static int hpt366_ide_init(void)
+static int __init hpt366_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/ns87415.c

@@ -302,7 +302,7 @@ static struct pci_driver driver = {
 	.probe		= ns87415_init_one,
 	.probe		= ns87415_init_one,
 };
 };
 
 
-static int ns87415_ide_init(void)
+static int __init ns87415_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/opti621.c

@@ -382,7 +382,7 @@ static struct pci_driver driver = {
 	.probe		= opti621_init_one,
 	.probe		= opti621_init_one,
 };
 };
 
 
-static int opti621_ide_init(void)
+static int __init opti621_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/pdc202xx_new.c

@@ -756,7 +756,7 @@ static struct pci_driver driver = {
 	.probe		= pdc202new_init_one,
 	.probe		= pdc202new_init_one,
 };
 };
 
 
-static int pdc202new_ide_init(void)
+static int __init pdc202new_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/pdc202xx_old.c

@@ -719,7 +719,7 @@ static struct pci_driver driver = {
 	.probe		= pdc202xx_init_one,
 	.probe		= pdc202xx_init_one,
 };
 };
 
 
-static int pdc202xx_ide_init(void)
+static int __init pdc202xx_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/rz1000.c

@@ -77,7 +77,7 @@ static struct pci_driver driver = {
 	.probe		= rz1000_init_one,
 	.probe		= rz1000_init_one,
 };
 };
 
 
-static int rz1000_ide_init(void)
+static int __init rz1000_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/sc1200.c

@@ -507,7 +507,7 @@ static struct pci_driver driver = {
 #endif
 #endif
 };
 };
 
 
-static int sc1200_ide_init(void)
+static int __init sc1200_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/serverworks.c

@@ -666,7 +666,7 @@ static struct pci_driver driver = {
 	.probe		= svwks_init_one,
 	.probe		= svwks_init_one,
 };
 };
 
 
-static int svwks_ide_init(void)
+static int __init svwks_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 2
drivers/ide/pci/sgiioc4.c

@@ -762,8 +762,7 @@ static struct ioc4_submodule ioc4_ide_submodule = {
 /*	.is_remove = ioc4_ide_remove_one,	*/
 /*	.is_remove = ioc4_ide_remove_one,	*/
 };
 };
 
 
-static int __devinit
-ioc4_ide_init(void)
+static int __init ioc4_ide_init(void)
 {
 {
 	return ioc4_register_submodule(&ioc4_ide_submodule);
 	return ioc4_register_submodule(&ioc4_ide_submodule);
 }
 }

+ 1 - 1
drivers/ide/pci/siimage.c

@@ -1096,7 +1096,7 @@ static struct pci_driver driver = {
 	.probe		= siimage_init_one,
 	.probe		= siimage_init_one,
 };
 };
 
 
-static int siimage_ide_init(void)
+static int __init siimage_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/sis5513.c

@@ -968,7 +968,7 @@ static struct pci_driver driver = {
 	.probe		= sis5513_init_one,
 	.probe		= sis5513_init_one,
 };
 };
 
 
-static int sis5513_ide_init(void)
+static int __init sis5513_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/sl82c105.c

@@ -492,7 +492,7 @@ static struct pci_driver driver = {
 	.probe		= sl82c105_init_one,
 	.probe		= sl82c105_init_one,
 };
 };
 
 
-static int sl82c105_ide_init(void)
+static int __init sl82c105_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/slc90e66.c

@@ -253,7 +253,7 @@ static struct pci_driver driver = {
 	.probe		= slc90e66_init_one,
 	.probe		= slc90e66_init_one,
 };
 };
 
 
-static int slc90e66_ide_init(void)
+static int __init slc90e66_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/triflex.c

@@ -173,7 +173,7 @@ static struct pci_driver driver = {
 	.probe		= triflex_init_one,
 	.probe		= triflex_init_one,
 };
 };
 
 
-static int triflex_ide_init(void)
+static int __init triflex_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/trm290.c

@@ -355,7 +355,7 @@ static struct pci_driver driver = {
 	.probe		= trm290_init_one,
 	.probe		= trm290_init_one,
 };
 };
 
 
-static int trm290_ide_init(void)
+static int __init trm290_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }

+ 1 - 1
drivers/ide/pci/via82cxxx.c

@@ -514,7 +514,7 @@ static struct pci_driver driver = {
 	.probe 		= via_init_one,
 	.probe 		= via_init_one,
 };
 };
 
 
-static int via_ide_init(void)
+static int __init via_ide_init(void)
 {
 {
 	return ide_pci_register_driver(&driver);
 	return ide_pci_register_driver(&driver);
 }
 }