aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/imon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/imon.c')
-rw-r--r--drivers/media/rc/imon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c
index 78d109b978dd..dec203bb06f6 100644
--- a/drivers/media/rc/imon.c
+++ b/drivers/media/rc/imon.c
@@ -1221,7 +1221,7 @@ static u32 imon_panel_key_lookup(u64 code)
1221static bool imon_mouse_event(struct imon_context *ictx, 1221static bool imon_mouse_event(struct imon_context *ictx,
1222 unsigned char *buf, int len) 1222 unsigned char *buf, int len)
1223{ 1223{
1224 char rel_x = 0x00, rel_y = 0x00; 1224 signed char rel_x = 0x00, rel_y = 0x00;
1225 u8 right_shift = 1; 1225 u8 right_shift = 1;
1226 bool mouse_input = true; 1226 bool mouse_input = true;
1227 int dir = 0; 1227 int dir = 0;
@@ -1297,7 +1297,7 @@ static void imon_touch_event(struct imon_context *ictx, unsigned char *buf)
1297static void imon_pad_to_keys(struct imon_context *ictx, unsigned char *buf) 1297static void imon_pad_to_keys(struct imon_context *ictx, unsigned char *buf)
1298{ 1298{
1299 int dir = 0; 1299 int dir = 0;
1300 char rel_x = 0x00, rel_y = 0x00; 1300 signed char rel_x = 0x00, rel_y = 0x00;
1301 u16 timeout, threshold; 1301 u16 timeout, threshold;
1302 u32 scancode = KEY_RESERVED; 1302 u32 scancode = KEY_RESERVED;
1303 unsigned long flags; 1303 unsigned long flags;