提交 cadc7920 编写于 作者: E Emil Goode 提交者: 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: NEmil Goode <emilgoode@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 a342daea
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册