From 7d5ac68136d7032f9bb4535832eca0c43b15f4f6 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Tue, 9 Aug 2011 20:37:17 +0200 Subject: [PATCH] --- yaml --- r: 273371 b: refs/heads/master c: 54d8e2c323b439e0e20ea44d17b875d9a43f7d66 h: refs/heads/master i: 273369: 4b14420a6b4d4edd6a600a38bb0192f6fa177791 273367: 61afb577b049c0038d8d9acb2d2d14a38f867f64 v: v3 --- [refs] | 2 +- trunk/drivers/mfd/tc3589x.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index da0483b51fa7..4d188f53775b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d8e4a88b7974ea03015f515383fb2576fbb517f1 +refs/heads/master: 54d8e2c323b439e0e20ea44d17b875d9a43f7d66 diff --git a/trunk/drivers/mfd/tc3589x.c b/trunk/drivers/mfd/tc3589x.c index c27e515b0722..de979742c6fc 100644 --- a/trunk/drivers/mfd/tc3589x.c +++ b/trunk/drivers/mfd/tc3589x.c @@ -357,6 +357,7 @@ static int __devexit tc3589x_remove(struct i2c_client *client) return 0; } +#ifdef CONFIG_PM static int tc3589x_suspend(struct device *dev) { struct tc3589x *tc3589x = dev_get_drvdata(dev); @@ -387,6 +388,7 @@ static int tc3589x_resume(struct device *dev) static const SIMPLE_DEV_PM_OPS(tc3589x_dev_pm_ops, tc3589x_suspend, tc3589x_resume); +#endif static const struct i2c_device_id tc3589x_id[] = { { "tc3589x", 24 },