m68k: Some input drivers do not check the platform
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 18 May 2008 18:47:17 +0000 (20:47 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 18 May 2008 20:28:49 +0000 (13:28 -0700)
commiteb98630ba02f6a23a2d202be082757a9e9940b2b
treed60e16ca2c77f33330d42251758c767d81d8e673
parent0f734484ac51711f6b9e48b42242e19e88eb2926
m68k: Some input drivers do not check the platform

Some input drivers do not check whether they're actually running on the
correct platform, causing multi-platform kernels to crash if they are not.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/input/keyboard/hilkbd.c
drivers/input/misc/hp_sdc_rtc.c
drivers/input/serio/hp_sdc_mlc.c