diff options
-rw-r--r-- | drivers/media/rc/st_rc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/st_rc.c b/drivers/media/rc/st_rc.c index 979b40561b3a..37d040158dff 100644 --- a/drivers/media/rc/st_rc.c +++ b/drivers/media/rc/st_rc.c | |||
@@ -334,7 +334,7 @@ err: | |||
334 | return ret; | 334 | return ret; |
335 | } | 335 | } |
336 | 336 | ||
337 | #ifdef CONFIG_PM | 337 | #ifdef CONFIG_PM_SLEEP |
338 | static int st_rc_suspend(struct device *dev) | 338 | static int st_rc_suspend(struct device *dev) |
339 | { | 339 | { |
340 | struct st_rc_device *rc_dev = dev_get_drvdata(dev); | 340 | struct st_rc_device *rc_dev = dev_get_drvdata(dev); |