aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/generic.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-01-27 07:46:56 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-01-27 07:46:56 -0500
commit82ab1eeceba6705cd5a8815c48eb03af1dada744 (patch)
tree4e3a6be266030672ccd237cdc6ca8eeab129c448 /drivers/ide/pci/generic.c
parent677c0a78f6bf7aa87c90c4e015e014a17132c634 (diff)
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 = {
263 .probe = generic_init_one, 263 .probe = generic_init_one,
264}; 264};
265 265
266static int generic_ide_init(void) 266static int __init generic_ide_init(void)
267{ 267{
268 return ide_pci_register_driver(&driver); 268 return ide_pci_register_driver(&driver);
269} 269}