aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/sonypi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/sonypi.c')
-rw-r--r--drivers/char/sonypi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c
index f97a8a9751a0..c812191417c3 100644
--- a/drivers/char/sonypi.c
+++ b/drivers/char/sonypi.c
@@ -1103,7 +1103,7 @@ static int sonypi_disable(void)
1103#ifdef CONFIG_PM 1103#ifdef CONFIG_PM
1104static int old_camera_power; 1104static int old_camera_power;
1105 1105
1106static int sonypi_suspend(struct device *dev, u32 state, u32 level) 1106static int sonypi_suspend(struct device *dev, pm_message_t state, u32 level)
1107{ 1107{
1108 if (level == SUSPEND_DISABLE) { 1108 if (level == SUSPEND_DISABLE) {
1109 old_camera_power = sonypi_device.camera_power; 1109 old_camera_power = sonypi_device.camera_power;