]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
HP input: kill warnings due to suseconds_t differences
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 13 Oct 2008 19:58:58 +0000 (21:58 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2008 17:23:27 +0000 (10:23 -0700)
commit7477fb6fbc339469ea945e007f3f7b3bb13b25f7
tree45dbb6098740820c6cee67f61bef19df59fc3e9b
parent998aaf01c6f6f3dffc1ea9e7b20b131e38fdbc78
HP input: kill warnings due to suseconds_t differences

Kill compiler warnings related to printf() formats in the input drivers for
various HP9000 machines, which are shared between PA-RISC (suseconds_t is int)
and m68k (suseconds_t is long). As both are 32-bit, it's safe to cast to int.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/input/misc/hp_sdc_rtc.c
drivers/input/serio/hp_sdc.c