Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69306
b: refs/heads/master
c: 63bd8c4
h: refs/heads/master
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Oct 15, 2007
1 parent ed57d0d commit a6741ff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 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: 355aaffdaf82c95a004daedd1ea64fc61a25b8db
refs/heads/master: 63bd8c48e04bbbc9cee3d752857914609d8d406f
2 changes: 0 additions & 2 deletions trunk/arch/m68k/atari/atakeyb.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* linux/arch/m68k/atari/atakeyb.c
*
* Atari Keyboard driver for 680x0 Linux
*
* This file is subject to the terms and conditions of the GNU General Public
Expand Down
7 changes: 4 additions & 3 deletions trunk/drivers/input/keyboard/atakbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ static void atakbd_interrupt(unsigned char scancode, char down)

static int __init atakbd_init(void)
{
int i;
int i, error;

if (!MACH_IS_ATARI || !ATARIHW_PRESENT(ST_MFP))
return -EIO;
Expand Down Expand Up @@ -247,9 +247,10 @@ static int __init atakbd_init(void)
}

/* error check */
if (input_register_device(atakbd_dev)) {
error = input_register_device(atakbd_dev);
if (error) {
input_free_device(atakbd_dev);
return -ENOMEM;
return error;
}

atari_input_keyboard_interrupt_hook = atakbd_interrupt;
Expand Down

0 comments on commit a6741ff

Please sign in to comment.