aboutsummaryrefslogtreecommitdiffstats
path: root/fs/pstore/ram.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/pstore/ram.c')
-rw-r--r--fs/pstore/ram.c1
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);
538static void __exit ramoops_exit(void) 538static 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}
543module_exit(ramoops_exit); 544module_exit(ramoops_exit);