diff options
Diffstat (limited to 'fs/pstore/ram.c')
-rw-r--r-- | fs/pstore/ram.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index 91016049e551..1a4f6da58eab 100644 --- a/fs/pstore/ram.c +++ b/fs/pstore/ram.c | |||
@@ -538,6 +538,7 @@ postcore_initcall(ramoops_init); | |||
538 | static void __exit ramoops_exit(void) | 538 | static void __exit ramoops_exit(void) |
539 | { | 539 | { |
540 | platform_driver_unregister(&ramoops_driver); | 540 | platform_driver_unregister(&ramoops_driver); |
541 | platform_device_unregister(dummy); | ||
541 | kfree(dummy_data); | 542 | kfree(dummy_data); |
542 | } | 543 | } |
543 | module_exit(ramoops_exit); | 544 | module_exit(ramoops_exit); |