diff options
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/bf5xx_nand.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c index 4271e948d1e2..776df3694f75 100644 --- a/drivers/mtd/nand/bf5xx_nand.c +++ b/drivers/mtd/nand/bf5xx_nand.c | |||
@@ -874,21 +874,7 @@ static struct platform_driver bf5xx_nand_driver = { | |||
874 | }, | 874 | }, |
875 | }; | 875 | }; |
876 | 876 | ||
877 | static int __init bf5xx_nand_init(void) | 877 | module_platform_driver(bf5xx_nand_driver); |
878 | { | ||
879 | printk(KERN_INFO "%s, Version %s (c) 2007 Analog Devices, Inc.\n", | ||
880 | DRV_DESC, DRV_VERSION); | ||
881 | |||
882 | return platform_driver_register(&bf5xx_nand_driver); | ||
883 | } | ||
884 | |||
885 | static void __exit bf5xx_nand_exit(void) | ||
886 | { | ||
887 | platform_driver_unregister(&bf5xx_nand_driver); | ||
888 | } | ||
889 | |||
890 | module_init(bf5xx_nand_init); | ||
891 | module_exit(bf5xx_nand_exit); | ||
892 | 878 | ||
893 | MODULE_LICENSE("GPL"); | 879 | MODULE_LICENSE("GPL"); |
894 | MODULE_AUTHOR(DRV_AUTHOR); | 880 | MODULE_AUTHOR(DRV_AUTHOR); |