]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/ide/ide-floppy.c
[PATCH] ide: add missing __init tags to device drivers
[net-next-2.6.git] / drivers / ide / ide-floppy.c
index 94c147b79a4974088d9c5900dd4872ef3b47c630..9e293c8063dccfbe20b9589df836b8b0fa34f4f8 100644 (file)
@@ -2191,10 +2191,7 @@ static void __exit idefloppy_exit (void)
        driver_unregister(&idefloppy_driver.gen_driver);
 }
 
-/*
- *     idefloppy_init will register the driver for each floppy.
- */
-static int idefloppy_init (void)
+static int __init idefloppy_init(void)
 {
        printk("ide-floppy driver " IDEFLOPPY_VERSION "\n");
        return driver_register(&idefloppy_driver.gen_driver);