diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/mach-common/dpmc.c | 19 |
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 | 160 | module_platform_driver(bfin_dpmc_device_driver); | |
161 | /** | ||
162 | * bfin_dpmc_init - Init driver | ||
163 | */ | ||
164 | static int __init bfin_dpmc_init(void) | ||
165 | { | ||
166 | return platform_driver_register(&bfin_dpmc_device_driver); | ||
167 | } | ||
168 | module_init(bfin_dpmc_init); | ||
169 | |||
170 | /** | ||
171 | * bfin_dpmc_exit - break down driver | ||
172 | */ | ||
173 | static void __exit bfin_dpmc_exit(void) | ||
174 | { | ||
175 | platform_driver_unregister(&bfin_dpmc_device_driver); | ||
176 | } | ||
177 | module_exit(bfin_dpmc_exit); | ||
178 | 161 | ||
179 | MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>"); | 162 | MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>"); |
180 | MODULE_DESCRIPTION("cpu power management driver for Blackfin"); | 163 | MODULE_DESCRIPTION("cpu power management driver for Blackfin"); |