dev_pm_ops is normally a const struct. Update the structure
in this driver accordingly.

Signed-off-by: Anand Gadiyar <[email protected]>
Cc: Ben Dooks <[email protected]>
---
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to