>       struct twl4030_madc_request req;
> 
>       req.channels = (1 << 9);
> +     req.do_avg = NULL;
>       req.method = TWL4030_MADC_SW1;
> +     req.active = NULL;
>       req.func_cb = NULL;
>       twl4030_madc_conversion(&req);
>       temp = (u16)req.rbuf[9];

As per twl4030_madc_request structure 'do_avg' is a u16, and 'active' is an 
integer. So they should be initialized to 0 instead of NULL.

--
Regards,
Jagadeesh
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to