aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/pasemi_nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/pasemi_nand.c')
-rw-r--r--drivers/mtd/nand/pasemi_nand.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/mtd/nand/pasemi_nand.c b/drivers/mtd/nand/pasemi_nand.c
index a97264ececd..974dbf8251c 100644
--- a/drivers/mtd/nand/pasemi_nand.c
+++ b/drivers/mtd/nand/pasemi_nand.c
@@ -230,17 +230,7 @@ static struct platform_driver pasemi_nand_driver =
230 .remove = pasemi_nand_remove, 230 .remove = pasemi_nand_remove,
231}; 231};
232 232
233static int __init pasemi_nand_init(void) 233module_platform_driver(pasemi_nand_driver);
234{
235 return platform_driver_register(&pasemi_nand_driver);
236}
237module_init(pasemi_nand_init);
238
239static void __exit pasemi_nand_exit(void)
240{
241 platform_driver_unregister(&pasemi_nand_driver);
242}
243module_exit(pasemi_nand_exit);
244 234
245MODULE_LICENSE("GPL"); 235MODULE_LICENSE("GPL");
246MODULE_AUTHOR("Egor Martovetsky <egor@pasemi.com>"); 236MODULE_AUTHOR("Egor Martovetsky <egor@pasemi.com>");