summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8804-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8804-i2c.c')
-rw-r--r--sound/soc/codecs/wm8804-i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8804-i2c.c b/sound/soc/codecs/wm8804-i2c.c
index e80dad87219b..3380d7301b17 100644
--- a/sound/soc/codecs/wm8804-i2c.c
+++ b/sound/soc/codecs/wm8804-i2c.c
@@ -56,7 +56,7 @@ MODULE_DEVICE_TABLE(acpi, wm8804_acpi_match);
static struct i2c_driver wm8804_i2c_driver = {
.driver = {
.name = "wm8804",
- .pm = &wm8804_pm,
+ .pm = pm_ptr(&wm8804_pm),
.of_match_table = of_match_ptr(wm8804_of_match),
.acpi_match_table = ACPI_PTR(wm8804_acpi_match),
},