summaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/msr.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/msr.c')
-rw-r--r--arch/i386/kernel/msr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/i386/kernel/msr.c b/arch/i386/kernel/msr.c
index badb6ed15..fd8cf7088 100644
--- a/arch/i386/kernel/msr.c
+++ b/arch/i386/kernel/msr.c
@@ -261,6 +261,7 @@ int __init msr_init(void)
void __exit msr_exit(void)
{
+ unregister_chrdev(MSR_MAJOR, "cpu/msr");
}
module_init(msr_init);