aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/mpc5121_nfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/mpc5121_nfc.c')
-rw-r--r--drivers/mtd/nand/mpc5121_nfc.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c
index 5ede64706346..c240cf1af961 100644
--- a/drivers/mtd/nand/mpc5121_nfc.c
+++ b/drivers/mtd/nand/mpc5121_nfc.c
@@ -879,19 +879,7 @@ static struct platform_driver mpc5121_nfc_driver = {
879 }, 879 },
880}; 880};
881 881
882static int __init mpc5121_nfc_init(void) 882module_platform_driver(mpc5121_nfc_driver);
883{
884 return platform_driver_register(&mpc5121_nfc_driver);
885}
886
887module_init(mpc5121_nfc_init);
888
889static void __exit mpc5121_nfc_cleanup(void)
890{
891 platform_driver_unregister(&mpc5121_nfc_driver);
892}
893
894module_exit(mpc5121_nfc_cleanup);
895 883
896MODULE_AUTHOR("Freescale Semiconductor, Inc."); 884MODULE_AUTHOR("Freescale Semiconductor, Inc.");
897MODULE_DESCRIPTION("MPC5121 NAND MTD driver"); 885MODULE_DESCRIPTION("MPC5121 NAND MTD driver");