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 <ding...@gmail.com> --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/