aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/input/gameport/lightning.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/gameport/lightning.c b/drivers/input/gameport/lightning.c
index d65d81080257..6b4d4561d465 100644
--- a/drivers/input/gameport/lightning.c
+++ b/drivers/input/gameport/lightning.c
@@ -309,7 +309,7 @@ static int __init l4_init(void)
309 int i, cards = 0; 309 int i, cards = 0;
310 310
311 if (!request_region(L4_PORT, 1, "lightning")) 311 if (!request_region(L4_PORT, 1, "lightning"))
312 return -1; 312 return -EBUSY;
313 313
314 for (i = 0; i < 2; i++) 314 for (i = 0; i < 2; i++)
315 if (l4_add_card(i) == 0) 315 if (l4_add_card(i) == 0)
@@ -319,7 +319,7 @@ static int __init l4_init(void)
319 319
320 if (!cards) { 320 if (!cards) {
321 release_region(L4_PORT, 1); 321 release_region(L4_PORT, 1);
322 return -1; 322 return -ENODEV;
323 } 323 }
324 324
325 return 0; 325 return 0;