Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux...
[firefly-linux-kernel-4.4.55.git] / drivers / mfd / adp5520.c
index 8d816cce8322ebecdf8d40e29f0c0b0a3aedcbdb..ea8b9475731dd9fc48958f13eaa7aa0af262c573 100644 (file)
@@ -320,7 +320,7 @@ static int __devexit adp5520_remove(struct i2c_client *client)
        return 0;
 }
 
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
 static int adp5520_suspend(struct device *dev)
 {
        struct i2c_client *client = to_i2c_client(dev);