Loading drivers/usb/musb/blackfin.c +3 −10 Original line number Diff line number Diff line Loading @@ -561,23 +561,16 @@ static int bfin_resume(struct device *dev) return 0; } static struct dev_pm_ops bfin_pm_ops = { .suspend = bfin_suspend, .resume = bfin_resume, }; #define DEV_PM_OPS &bfin_pm_ops #else #define DEV_PM_OPS NULL #endif static SIMPLE_DEV_PM_OPS(bfin_pm_ops, bfin_suspend, bfin_resume); static struct platform_driver bfin_driver = { .probe = bfin_probe, .remove = __exit_p(bfin_remove), .driver = { .name = "musb-blackfin", .pm = DEV_PM_OPS, .pm = &bfin_pm_ops, }, }; Loading Loading
drivers/usb/musb/blackfin.c +3 −10 Original line number Diff line number Diff line Loading @@ -561,23 +561,16 @@ static int bfin_resume(struct device *dev) return 0; } static struct dev_pm_ops bfin_pm_ops = { .suspend = bfin_suspend, .resume = bfin_resume, }; #define DEV_PM_OPS &bfin_pm_ops #else #define DEV_PM_OPS NULL #endif static SIMPLE_DEV_PM_OPS(bfin_pm_ops, bfin_suspend, bfin_resume); static struct platform_driver bfin_driver = { .probe = bfin_probe, .remove = __exit_p(bfin_remove), .driver = { .name = "musb-blackfin", .pm = DEV_PM_OPS, .pm = &bfin_pm_ops, }, }; Loading