aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2012-03-16 07:08:51 -0400
committerJiri Kosina <jkosina@suse.cz>2012-03-16 07:08:51 -0400
commitadfe39cd9195c35811e062578c4107db49d75436 (patch)
tree7736825d96d2eae5721878dec1083db84fcadd06
parent7fa87ce726fa3a2ddd55dc994697dc0e281f9125 (diff)
Revert "char: Fix typo in viotape.c"
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>
-rw-r--r--drivers/char/viotape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c
index 8b34c65511eb..ad6e64a2912d 100644
--- a/drivers/char/viotape.c
+++ b/drivers/char/viotape.c
@@ -976,7 +976,7 @@ int __init viotap_init(void)
976 976
977 tape_class = class_create(THIS_MODULE, "tape"); 977 tape_class = class_create(THIS_MODULE, "tape");
978 if (IS_ERR(tape_class)) { 978 if (IS_ERR(tape_class)) {
979 printk(VIOTAPE_KERN_WARN "Unable to allocate class\n"); 979 printk(VIOTAPE_KERN_WARN "Unable to allocat class\n");
980 ret = PTR_ERR(tape_class); 980 ret = PTR_ERR(tape_class);
981 goto unreg_chrdev; 981 goto unreg_chrdev;
982 } 982 }