i2s : fix i2s suspend resume set error
authorqjb <qjb@rock-chips.com>
Tue, 3 Jun 2014 03:05:21 +0000 (11:05 +0800)
committerqjb <qjb@rock-chips.com>
Tue, 3 Jun 2014 03:05:21 +0000 (11:05 +0800)
sound/soc/rockchip/rk30_i2s.c

index dd4a6fa89f5f3d03d8179e33eddb8d89575c2781..72784ab2058a76fb972957cb35ed5415fa7807f1 100755 (executable)
@@ -682,8 +682,8 @@ MODULE_DEVICE_TABLE(of, exynos_i2s_match);
 #endif
 
 static const struct dev_pm_ops rockchip_i2s_pm_ops = {
-        SET_RUNTIME_PM_OPS(rockchip_i2s_suspend_noirq,
-                                rockchip_i2s_resume_noirq, NULL)
+       .suspend_noirq = rockchip_i2s_suspend_noirq,
+       .resume_noirq  = rockchip_i2s_resume_noirq,
 };
 
 static struct platform_driver rockchip_i2s_driver = {