|
@@ -1280,7 +1280,6 @@ static int omap_i2c_remove(struct platform_device *pdev)
|
|
|
}
|
|
|
|
|
|
#ifdef CONFIG_PM
|
|
|
-#ifdef CONFIG_PM_RUNTIME
|
|
|
static int omap_i2c_runtime_suspend(struct device *dev)
|
|
|
{
|
|
|
struct platform_device *pdev = to_platform_device(dev);
|
|
@@ -1318,7 +1317,6 @@ static int omap_i2c_runtime_resume(struct device *dev)
|
|
|
|
|
|
return 0;
|
|
|
}
|
|
|
-#endif /* CONFIG_PM_RUNTIME */
|
|
|
|
|
|
static struct dev_pm_ops omap_i2c_pm_ops = {
|
|
|
SET_RUNTIME_PM_OPS(omap_i2c_runtime_suspend,
|