dev_pm_ops is normally a const struct. Update the structure in this driver accordingly. Signed-off-by: Anand Gadiyar <gadiyar@xxxxxx> Cc: Ben Dooks <ben-linux@xxxxxxxxx> --- Checkpatch complained about this when I generated the previous patch. So I thought I might as well fix it up. drivers/i2c/busses/i2c-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-omap-usb/drivers/i2c/busses/i2c-omap.c =================================================================== --- linux-omap-usb.orig/drivers/i2c/busses/i2c-omap.c +++ linux-omap-usb/drivers/i2c/busses/i2c-omap.c @@ -1156,7 +1156,7 @@ static int omap_i2c_resume(struct device return 0; } -static struct dev_pm_ops omap_i2c_pm = { +static const struct dev_pm_ops omap_i2c_pm = { .suspend = omap_i2c_suspend, .resume = omap_i2c_resume, }; -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html