]> git.hungrycats.org Git - linux/commitdiff
[PATCH] piix_ide_init() can be __init
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>
Sun, 14 Mar 2004 23:48:34 +0000 (15:48 -0800)
committerJeff Garzik <jgarzik@redhat.com>
Sun, 14 Mar 2004 23:48:34 +0000 (15:48 -0800)
From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>

The missing __init was found by reference_init26.pl.

drivers/ide/pci/piix.c

index 7a30bdc6e73d36472edba29b2912f093fa614c73..27e749610c2f58081a31a65732f83765ef299898 100644 (file)
@@ -814,7 +814,7 @@ static struct pci_driver driver = {
        .probe          = piix_init_one,
 };
 
-static int piix_ide_init(void)
+static int __init piix_ide_init(void)
 {
        piix_check_450nx();
        return ide_pci_register_driver(&driver);