]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
sbus bpp: instances missed in s/dev_name/bpp_dev_name/
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 21 May 2008 05:32:11 +0000 (06:32 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 21 May 2008 23:55:59 +0000 (16:55 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/sbus/char/bpp.c

index b87037ec9805502a52cd4655f6d40a96847d3b66..03c966059471d12938f41ddf876f97a22d1343b4 100644 (file)
@@ -869,7 +869,7 @@ static void probeLptPort(unsigned idx)
       instances[idx].mode = COMPATIBILITY;
       instances[idx].run_length = 0;
       instances[idx].run_flag = 0;
-      if (!request_region(lpAddr,3, dev_name)) return;
+      if (!request_region(lpAddr,3, bpp_dev_name)) return;
 
       /*
        * First, make sure the instance exists. Do this by writing to
@@ -1021,7 +1021,7 @@ static int __init bpp_init(void)
        if (rc == 0)
                return -ENODEV;
 
-       rc = register_chrdev(BPP_MAJOR, dev_name, &bpp_fops);
+       rc = register_chrdev(BPP_MAJOR, bpp_dev_name, &bpp_fops);
        if (rc < 0)
                return rc;
 
@@ -1037,7 +1037,7 @@ static void __exit bpp_cleanup(void)
 {
        unsigned idx;
 
-       unregister_chrdev(BPP_MAJOR, dev_name);
+       unregister_chrdev(BPP_MAJOR, bpp_dev_name);
 
        for (idx = 0;  idx < BPP_NO; idx++) {
                if (instances[idx].present)