diff options
Diffstat (limited to 'drivers/input/keyboard/atkbd.c')
-rw-r--r-- | drivers/input/keyboard/atkbd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index ce1f10e8984b..9874072cf9d6 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c | |||
@@ -635,9 +635,7 @@ static int atkbd_probe(struct atkbd *atkbd) | |||
635 | return 0; | 635 | return 0; |
636 | } | 636 | } |
637 | 637 | ||
638 | if (param[0] != 0xab && param[0] != 0xac && /* Regular and NCD Sun keyboards */ | 638 | if (!ps2_is_keyboard_id(param[0])) |
639 | param[0] != 0x2b && param[0] != 0x5d && /* Trust keyboard, raw and translated */ | ||
640 | param[0] != 0x60 && param[0] != 0x47) /* NMB SGI keyboard, raw and translated */ | ||
641 | return -1; | 639 | return -1; |
642 | 640 | ||
643 | atkbd->id = (param[0] << 8) | param[1]; | 641 | atkbd->id = (param[0] << 8) | param[1]; |