Commit cadc7920 authored by Emil Goode's avatar Emil Goode Committed by Mauro Carvalho Chehab

[media] lirc: fix non-ANSI function declaration warning

Sparse is warning about non-ANSI function declaration.
Add void to the parameterless function.

drivers/staging/media/lirc/lirc_bt829.c:174:22: warning:
	non-ANSI function declaration of function 'poll_main'
Signed-off-by: default avatarEmil Goode <emilgoode@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a342daea
...@@ -171,7 +171,7 @@ static void cycle_delay(int cycle) ...@@ -171,7 +171,7 @@ static void cycle_delay(int cycle)
} }
static int poll_main() static int poll_main(void)
{ {
unsigned char status_high, status_low; unsigned char status_high, status_low;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment