Input: synaptics_i2c - wrap suspend and resume in CONFIG_PM_SLEEP
[pandora-kernel.git] / drivers / input / mouse / synaptics_i2c.c
index e28e9ce..4b755cb 100644 (file)
@@ -619,7 +619,7 @@ static int __devexit synaptics_i2c_remove(struct i2c_client *client)
        return 0;
 }
 
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
 static int synaptics_i2c_suspend(struct device *dev)
 {
        struct i2c_client *client = to_i2c_client(dev);