Hi Tony, I am resending the patch after fixing the comment provided by Jagadeesh. Regards, Madhu ------------------------------------------------------------------------- From: Madhusudhan Chikkature<madhu.cr@xxxxxx> This patch set up the unused madc request structure members to NULL. Signed-off-by: Madhusudhan Chikkature<madhu.cr@xxxxxx> --- drivers/power/twl4030_bci_battery.c | 2 ++ 1 files changed, 2 insertions(+) Index: linux-omap-2.6/drivers/power/twl4030_bci_battery.c =================================================================== --- linux-omap-2.6.orig/drivers/power/twl4030_bci_battery.c 2008-09-10 10:16:20.000000000 +0530 +++ linux-omap-2.6/drivers/power/twl4030_bci_battery.c 2008-09-18 17:12:22.000000000 +0530 @@ -604,7 +604,9 @@ struct twl4030_madc_request req; req.channels = (1 << 9); + req.do_avg = 0; req.method = TWL4030_MADC_SW1; + req.active = 0; req.func_cb = NULL; twl4030_madc_conversion(&req); temp = (u16)req.rbuf[9]; -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html