Message ID | 1379850421-7966-3-git-send-email-zonque@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 59d2245..ef53737 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c @@ -660,10 +660,9 @@ static int omap2430_runtime_resume(struct device *dev) return 0; } -static struct dev_pm_ops omap2430_pm_ops = { - .runtime_suspend = omap2430_runtime_suspend, - .runtime_resume = omap2430_runtime_resume, -}; +static SIMPLE_DEV_PM_OPS(omap2430_pm_ops, + omap2430_runtime_suspend, + omap2430_runtime_resume); #define DEV_PM_OPS (&omap2430_pm_ops) #else
This makes omap2430_pm_ops const. Signed-off-by: Daniel Mack <zonque@gmail.com> --- drivers/usb/musb/omap2430.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)