diff options
-rw-r--r-- | drivers/i2c/busses/i2c-pnx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-pnx.c b/drivers/i2c/busses/i2c-pnx.c index 5f39c6d8117a..1713b3ee61f5 100644 --- a/drivers/i2c/busses/i2c-pnx.c +++ b/drivers/i2c/busses/i2c-pnx.c | |||
@@ -595,7 +595,7 @@ static struct i2c_algorithm pnx_algorithm = { | |||
595 | .functionality = i2c_pnx_func, | 595 | .functionality = i2c_pnx_func, |
596 | }; | 596 | }; |
597 | 597 | ||
598 | #ifdef CONFIG_PM | 598 | #ifdef CONFIG_PM_SLEEP |
599 | static int i2c_pnx_controller_suspend(struct device *dev) | 599 | static int i2c_pnx_controller_suspend(struct device *dev) |
600 | { | 600 | { |
601 | struct i2c_pnx_algo_data *alg_data = dev_get_drvdata(dev); | 601 | struct i2c_pnx_algo_data *alg_data = dev_get_drvdata(dev); |