X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fmfd%2Fadp5520.c;h=ea8b9475731dd9fc48958f13eaa7aa0af262c573;hb=a22ddff8bedfe33eeb1330bbb7ef1fbe007a42c4;hp=8d816cce8322ebecdf8d40e29f0c0b0a3aedcbdb;hpb=44a683971119bafb5bc30778f92ee773680ebb6f;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/mfd/adp5520.c b/drivers/mfd/adp5520.c index 8d816cce8322..ea8b9475731d 100644 --- a/drivers/mfd/adp5520.c +++ b/drivers/mfd/adp5520.c @@ -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);