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>
This commit is contained in:
Bartlomiej Zolnierkiewicz 2007-01-27 13:46:56 +01:00
parent 677c0a78f6
commit 82ab1eeceb
26 changed files with 26 additions and 27 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}