|
@@ -595,7 +595,7 @@ static struct i2c_algorithm pnx_algorithm = {
|
|
.functionality = i2c_pnx_func,
|
|
.functionality = i2c_pnx_func,
|
|
};
|
|
};
|
|
|
|
|
|
-#ifdef CONFIG_PM
|
|
|
|
|
|
+#ifdef CONFIG_PM_SLEEP
|
|
static int i2c_pnx_controller_suspend(struct device *dev)
|
|
static int i2c_pnx_controller_suspend(struct device *dev)
|
|
{
|
|
{
|
|
struct i2c_pnx_algo_data *alg_data = dev_get_drvdata(dev);
|
|
struct i2c_pnx_algo_data *alg_data = dev_get_drvdata(dev);
|