aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/i2c/busses/i2c-omap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 26942c159de1..a1e9afdc2dea 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1280,7 +1280,6 @@ static int omap_i2c_remove(struct platform_device *pdev)
1280} 1280}
1281 1281
1282#ifdef CONFIG_PM 1282#ifdef CONFIG_PM
1283#ifdef CONFIG_PM_RUNTIME
1284static int omap_i2c_runtime_suspend(struct device *dev) 1283static int omap_i2c_runtime_suspend(struct device *dev)
1285{ 1284{
1286 struct platform_device *pdev = to_platform_device(dev); 1285 struct platform_device *pdev = to_platform_device(dev);
@@ -1318,7 +1317,6 @@ static int omap_i2c_runtime_resume(struct device *dev)
1318 1317
1319 return 0; 1318 return 0;
1320} 1319}
1321#endif /* CONFIG_PM_RUNTIME */
1322 1320
1323static struct dev_pm_ops omap_i2c_pm_ops = { 1321static struct dev_pm_ops omap_i2c_pm_ops = {
1324 SET_RUNTIME_PM_OPS(omap_i2c_runtime_suspend, 1322 SET_RUNTIME_PM_OPS(omap_i2c_runtime_suspend,