diff options
Diffstat (limited to 'arch/powerpc/sysdev/pmi.c')
-rw-r--r-- | arch/powerpc/sysdev/pmi.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/powerpc/sysdev/pmi.c b/arch/powerpc/sysdev/pmi.c index 8f0465422b1e..5aaf86c03893 100644 --- a/arch/powerpc/sysdev/pmi.c +++ b/arch/powerpc/sysdev/pmi.c | |||
@@ -214,18 +214,7 @@ static struct platform_driver pmi_of_platform_driver = { | |||
214 | .of_match_table = pmi_match, | 214 | .of_match_table = pmi_match, |
215 | }, | 215 | }, |
216 | }; | 216 | }; |
217 | 217 | module_platform_driver(pmi_of_platform_driver); | |
218 | static int __init pmi_module_init(void) | ||
219 | { | ||
220 | return platform_driver_register(&pmi_of_platform_driver); | ||
221 | } | ||
222 | module_init(pmi_module_init); | ||
223 | |||
224 | static void __exit pmi_module_exit(void) | ||
225 | { | ||
226 | platform_driver_unregister(&pmi_of_platform_driver); | ||
227 | } | ||
228 | module_exit(pmi_module_exit); | ||
229 | 218 | ||
230 | int pmi_send_message(pmi_message_t msg) | 219 | int pmi_send_message(pmi_message_t msg) |
231 | { | 220 | { |