Commit 53c4f0db authored by Anton Blanchard's avatar Anton Blanchard

ppc64: fix misc_register usage from Michael Still

parent 0215bd74
...@@ -126,8 +126,7 @@ int __init nvram_init(void) ...@@ -126,8 +126,7 @@ int __init nvram_init(void)
nvram_store = rtas_token("nvram-store"); nvram_store = rtas_token("nvram-store");
printk(KERN_INFO "PPC64 nvram contains %d bytes\n", rtas_nvram_size); printk(KERN_INFO "PPC64 nvram contains %d bytes\n", rtas_nvram_size);
misc_register(&nvram_dev); return misc_register(&nvram_dev);
return 0;
} }
void __exit nvram_cleanup(void) void __exit nvram_cleanup(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment