Revert "char: Fix typo in viotape.c"
authorJiri Kosina <jkosina@suse.cz>
Fri, 16 Mar 2012 11:08:51 +0000 (12:08 +0100)
committerJiri Kosina <jkosina@suse.cz>
Fri, 16 Mar 2012 11:08:51 +0000 (12:08 +0100)
This reverts commit a7ccf3775219bfcb2e0df73619abbe13abc6408f.

It changes deprecated code that is being removed in powerpc tree.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/char/viotape.c

index 8b34c65511eb3fa516bf323c320182b187a83985..ad6e64a2912d6fe61d06d7c20135e76a92bc9e1c 100644 (file)
@@ -976,7 +976,7 @@ int __init viotap_init(void)
 
        tape_class = class_create(THIS_MODULE, "tape");
        if (IS_ERR(tape_class)) {
-               printk(VIOTAPE_KERN_WARN "Unable to allocate class\n");
+               printk(VIOTAPE_KERN_WARN "Unable to allocat class\n");
                ret = PTR_ERR(tape_class);
                goto unreg_chrdev;
        }