aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/dpmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-common/dpmc.c')
-rw-r--r--arch/blackfin/mach-common/dpmc.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/arch/blackfin/mach-common/dpmc.c b/arch/blackfin/mach-common/dpmc.c
index f5685a496c58..978bb400be06 100644
--- a/arch/blackfin/mach-common/dpmc.c
+++ b/arch/blackfin/mach-common/dpmc.c
@@ -157,24 +157,7 @@ struct platform_driver bfin_dpmc_device_driver = {
157 .name = DRIVER_NAME, 157 .name = DRIVER_NAME,
158 } 158 }
159}; 159};
160 160module_platform_driver(bfin_dpmc_device_driver);
161/**
162 * bfin_dpmc_init - Init driver
163 */
164static int __init bfin_dpmc_init(void)
165{
166 return platform_driver_register(&bfin_dpmc_device_driver);
167}
168module_init(bfin_dpmc_init);
169
170/**
171 * bfin_dpmc_exit - break down driver
172 */
173static void __exit bfin_dpmc_exit(void)
174{
175 platform_driver_unregister(&bfin_dpmc_device_driver);
176}
177module_exit(bfin_dpmc_exit);
178 161
179MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>"); 162MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>");
180MODULE_DESCRIPTION("cpu power management driver for Blackfin"); 163MODULE_DESCRIPTION("cpu power management driver for Blackfin");