Commit 333876f3 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Jeff Garzik

[PATCH] piix_ide_init() can be __init

From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>

The missing __init was found by reference_init26.pl.
parent ee572516
...@@ -814,7 +814,7 @@ static struct pci_driver driver = { ...@@ -814,7 +814,7 @@ static struct pci_driver driver = {
.probe = piix_init_one, .probe = piix_init_one,
}; };
static int piix_ide_init(void) static int __init piix_ide_init(void)
{ {
piix_check_450nx(); piix_check_450nx();
return ide_pci_register_driver(&driver); 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