We do not allow old-style function definition. Always spell foo(void) if a function does not take any parameters. Signed-off-by: Cong Ding <dinggnu@xxxxxxxxx> --- drivers/staging/telephony/ixj.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/telephony/ixj.c b/drivers/staging/telephony/ixj.c index 1cfa0b0..6233f19 100644 --- a/drivers/staging/telephony/ixj.c +++ b/drivers/staging/telephony/ixj.c @@ -318,7 +318,7 @@ static IXJ *ixj[IXJMAX]; * Allocate a free IXJ device */ -static IXJ *ixj_alloc() +static IXJ *ixj_alloc(void) { for(cnt=0; cnt<IXJMAX; cnt++) { -- 1.7.4.5 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel