git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge to kernel-2.6.20-1.2949.fc6.vs2.2.0.1
[linux-2.6.git]
/
drivers
/
input
/
gameport
/
lightning.c
diff --git
a/drivers/input/gameport/lightning.c
b/drivers/input/gameport/lightning.c
index
d65d810
..
6b4d456
100644
(file)
--- a/
drivers/input/gameport/lightning.c
+++ b/
drivers/input/gameport/lightning.c
@@
-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)
@@
-319,7
+319,7
@@
static int __init l4_init(void)
if (!cards) {
release_region(L4_PORT, 1);
- return -
1
;
+ return -
ENODEV
;
}
return 0;