Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39664
b: refs/heads/master
c: 6a89bc0
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Dmitry Torokhov committed Nov 3, 2006
1 parent 8963f96 commit e1edd74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 1447190e39847cc2cc8a826e7061989c83ff4362
refs/heads/master: 6a89bc0004c8d9400439db6167c9887456d5d18d
4 changes: 2 additions & 2 deletions trunk/drivers/input/gameport/lightning.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ static int __init l4_init(void)
int i, cards = 0;

if (!request_region(L4_PORT, 1, "lightning"))
return -1;
return -EBUSY;

for (i = 0; i < 2; i++)
if (l4_add_card(i) == 0)
Expand All @@ -319,7 +319,7 @@ static int __init l4_init(void)

if (!cards) {
release_region(L4_PORT, 1);
return -1;
return -ENODEV;
}

return 0;
Expand Down

0 comments on commit e1edd74

Please sign in to comment.