diff options
-rw-r--r-- | drivers/gpio/gpio-pl061.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/gpio-pl061.c index 77c9cc70fa77..b4b5da4fd2cc 100644 --- a/drivers/gpio/gpio-pl061.c +++ b/drivers/gpio/gpio-pl061.c | |||
@@ -352,7 +352,12 @@ static int pl061_resume(struct device *dev) | |||
352 | return 0; | 352 | return 0; |
353 | } | 353 | } |
354 | 354 | ||
355 | static SIMPLE_DEV_PM_OPS(pl061_dev_pm_ops, pl061_suspend, pl061_resume); | 355 | static const struct dev_pm_ops pl061_dev_pm_ops = { |
356 | .suspend = pl061_suspend, | ||
357 | .resume = pl061_resume, | ||
358 | .freeze = pl061_suspend, | ||
359 | .restore = pl061_resume, | ||
360 | }; | ||
356 | #endif | 361 | #endif |
357 | 362 | ||
358 | static struct amba_id pl061_ids[] = { | 363 | static struct amba_id pl061_ids[] = { |