diff options
Diffstat (limited to 'drivers/sbus/char/bpp.c')
-rw-r--r-- | drivers/sbus/char/bpp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/sbus/char/bpp.c b/drivers/sbus/char/bpp.c index c1c091a00575..bba21e053a1b 100644 --- a/drivers/sbus/char/bpp.c +++ b/drivers/sbus/char/bpp.c | |||
@@ -872,7 +872,7 @@ static void probeLptPort(unsigned idx) | |||
872 | instances[idx].mode = COMPATIBILITY; | 872 | instances[idx].mode = COMPATIBILITY; |
873 | instances[idx].run_length = 0; | 873 | instances[idx].run_length = 0; |
874 | instances[idx].run_flag = 0; | 874 | instances[idx].run_flag = 0; |
875 | if (!request_region(lpAddr,3, dev_name)) return; | 875 | if (!request_region(lpAddr,3, bpp_dev_name)) return; |
876 | 876 | ||
877 | /* | 877 | /* |
878 | * First, make sure the instance exists. Do this by writing to | 878 | * First, make sure the instance exists. Do this by writing to |
@@ -1024,7 +1024,7 @@ static int __init bpp_init(void) | |||
1024 | if (rc == 0) | 1024 | if (rc == 0) |
1025 | return -ENODEV; | 1025 | return -ENODEV; |
1026 | 1026 | ||
1027 | rc = register_chrdev(BPP_MAJOR, dev_name, &bpp_fops); | 1027 | rc = register_chrdev(BPP_MAJOR, bpp_dev_name, &bpp_fops); |
1028 | if (rc < 0) | 1028 | if (rc < 0) |
1029 | return rc; | 1029 | return rc; |
1030 | 1030 | ||
@@ -1040,7 +1040,7 @@ static void __exit bpp_cleanup(void) | |||
1040 | { | 1040 | { |
1041 | unsigned idx; | 1041 | unsigned idx; |
1042 | 1042 | ||
1043 | unregister_chrdev(BPP_MAJOR, dev_name); | 1043 | unregister_chrdev(BPP_MAJOR, bpp_dev_name); |
1044 | 1044 | ||
1045 | for (idx = 0; idx < BPP_NO; idx++) { | 1045 | for (idx = 0; idx < BPP_NO; idx++) { |
1046 | if (instances[idx].present) | 1046 | if (instances[idx].present) |