Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97160
b: refs/heads/master
c: 572abae
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed May 21, 2008
1 parent 4915060 commit 26d9532
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 79bc12a0a09c2eb1ccbb01c192045f994567bda2
refs/heads/master: 572abae844e380ef4f8484d4e374a9ccf73dd568
6 changes: 3 additions & 3 deletions trunk/drivers/sbus/char/bpp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;

Expand All @@ -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)
Expand Down

0 comments on commit 26d9532

Please sign in to comment.