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: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 677c0a78
......@@ -441,7 +441,7 @@ static struct pci_driver driver = {
.probe = aec62xx_init_one,
};
static int aec62xx_ide_init(void)
static int __init aec62xx_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -907,7 +907,7 @@ static struct pci_driver driver = {
.probe = alim15x3_init_one,
};
static int ali15x3_ide_init(void)
static int __init ali15x3_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -544,7 +544,7 @@ static struct pci_driver driver = {
.probe = amd74xx_probe,
};
static int amd74xx_ide_init(void)
static int __init amd74xx_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -376,7 +376,7 @@ static struct pci_driver driver = {
.probe = atiixp_init_one,
};
static int atiixp_ide_init(void)
static int __init atiixp_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -793,7 +793,7 @@ static struct pci_driver driver = {
.probe = cmd64x_init_one,
};
static int cmd64x_ide_init(void)
static int __init cmd64x_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -260,7 +260,7 @@ static struct pci_driver driver = {
.probe = cs5520_init_one,
};
static int cs5520_ide_init(void)
static int __init cs5520_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -374,7 +374,7 @@ static struct pci_driver driver = {
.probe = cs5530_init_one,
};
static int cs5530_ide_init(void)
static int __init cs5530_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -519,7 +519,7 @@ static struct pci_driver driver = {
.probe = cy82c693_init_one,
};
static int cy82c693_ide_init(void)
static int __init cy82c693_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -263,7 +263,7 @@ static struct pci_driver driver = {
.probe = generic_init_one,
};
static int generic_ide_init(void)
static int __init generic_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -265,7 +265,7 @@ static struct pci_driver driver = {
.probe = hpt34x_init_one,
};
static int hpt34x_ide_init(void)
static int __init hpt34x_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -1613,7 +1613,7 @@ static struct pci_driver driver = {
.probe = hpt366_init_one,
};
static int hpt366_ide_init(void)
static int __init hpt366_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -302,7 +302,7 @@ static struct pci_driver driver = {
.probe = ns87415_init_one,
};
static int ns87415_ide_init(void)
static int __init ns87415_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -382,7 +382,7 @@ static struct pci_driver driver = {
.probe = opti621_init_one,
};
static int opti621_ide_init(void)
static int __init opti621_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -756,7 +756,7 @@ static struct pci_driver driver = {
.probe = pdc202new_init_one,
};
static int pdc202new_ide_init(void)
static int __init pdc202new_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -719,7 +719,7 @@ static struct pci_driver driver = {
.probe = pdc202xx_init_one,
};
static int pdc202xx_ide_init(void)
static int __init pdc202xx_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -77,7 +77,7 @@ static struct pci_driver driver = {
.probe = rz1000_init_one,
};
static int rz1000_ide_init(void)
static int __init rz1000_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -507,7 +507,7 @@ static struct pci_driver driver = {
#endif
};
static int sc1200_ide_init(void)
static int __init sc1200_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -666,7 +666,7 @@ static struct pci_driver driver = {
.probe = svwks_init_one,
};
static int svwks_ide_init(void)
static int __init svwks_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -762,8 +762,7 @@ static struct ioc4_submodule ioc4_ide_submodule = {
/* .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);
}
......
......@@ -1096,7 +1096,7 @@ static struct pci_driver driver = {
.probe = siimage_init_one,
};
static int siimage_ide_init(void)
static int __init siimage_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -968,7 +968,7 @@ static struct pci_driver driver = {
.probe = sis5513_init_one,
};
static int sis5513_ide_init(void)
static int __init sis5513_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -492,7 +492,7 @@ static struct pci_driver driver = {
.probe = sl82c105_init_one,
};
static int sl82c105_ide_init(void)
static int __init sl82c105_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -253,7 +253,7 @@ static struct pci_driver driver = {
.probe = slc90e66_init_one,
};
static int slc90e66_ide_init(void)
static int __init slc90e66_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -173,7 +173,7 @@ static struct pci_driver driver = {
.probe = triflex_init_one,
};
static int triflex_ide_init(void)
static int __init triflex_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -355,7 +355,7 @@ static struct pci_driver driver = {
.probe = trm290_init_one,
};
static int trm290_ide_init(void)
static int __init trm290_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
......@@ -514,7 +514,7 @@ static struct pci_driver driver = {
.probe = via_init_one,
};
static int via_ide_init(void)
static int __init via_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment