Okay, so last night's build run shows some new warnings... drivers/regulator/twl-regulator.c: In function 'twlreg_probe': drivers/regulator/twl-regulator.c:1151: warning: assignment discards qualifiers from pointer target type drivers/regulator/twl-regulator.c:1160: warning: assignment discards qualifiers from pointer target type These two look like missing const - looks like they were introduced by: commit 98d7bbb9929bcc14e11ac8a55245a4f2dc174e17 Author: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Date: Thu Jun 7 12:20:14 2012 +0200 of: add const to struct *of_device_id.data Drivers should never need to modify the data of a device id. So it can be const which in turn allows more consts in the driver. Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> drivers/regulator/twl-regulator.c: At top level: drivers/regulator/twl-regulator.c:1051: warning: 'TWLRES_INFO_CLK32KG' defined but not used This one looks like it was caused by: commit 0e8e5c34cf1a8beaaf0a6a05c053592693bf8cb4 Author: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Mon Jun 4 17:23:13 2012 +0100 regulator: twl: Remove references to 32kHz clock from DT bindings Due to the lack of a generic clock API we'd had the 32kHz clock in the regulator driver but this is definitely a Linux-specific thing and now we have a clock API hopefully the code can be moved elsewhere. Try to avoid getting DTs deployed relying on the 32kHz clock by removing it from the bindings, grep seems to tell me it's not currently used anyway. Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> which removes: -#define TWLRES_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWLRES, label) - TWLRES_OF_MATCH("ti,twl6030-clk32kg", CLK32KG), but completely forgets that this: TWL6030_FIXED_RESOURCE(CLK32KG, 0x8C, 0); defines a structure that it was using. (Welcome to why macros are horrid when they hide the names of stuff they create.) -- 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