summaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/generic.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-01-27 13:46:56 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-01-27 13:46:56 +0100
commit82ab1eeceba6705cd5a8815c48eb03af1dada744 (patch)
tree4e3a6be266030672ccd237cdc6ca8eeab129c448 /drivers/ide/pci/generic.c
parentia64: add pci_get_legacy_ide_irq() (diff)
downloadlinux-82ab1eeceba6705cd5a8815c48eb03af1dada744.tar.xz
linux-82ab1eeceba6705cd5a8815c48eb03af1dada744.zip
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>
Diffstat (limited to 'drivers/ide/pci/generic.c')
-rw-r--r--drivers/ide/pci/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/generic.c b/drivers/ide/pci/generic.c
index 3143cb03fe3c..b408c6c517ea 100644
--- a/drivers/ide/pci/generic.c
+++ b/drivers/ide/pci/generic.c
@@ -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);
}