Commit 43663dc4 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

media: meye: fix missing pm_mchip_mode field

After commit 9c4a8489 ("media: meye: use generic power management")
the pm_mchip_mode field should now always be present, even if CONFIG_PM
is not set.
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Fixes: 9c4a8489 ("media: meye: use generic power management")
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent e3083c3f
...@@ -305,9 +305,7 @@ struct meye { ...@@ -305,9 +305,7 @@ struct meye {
u16 colour; u16 colour;
struct meye_params params; /* additional parameters */ struct meye_params params; /* additional parameters */
unsigned long in_use; /* set to 1 if the device is in use */ unsigned long in_use; /* set to 1 if the device is in use */
#ifdef CONFIG_PM
u8 pm_mchip_mode; /* old mchip mode */ u8 pm_mchip_mode; /* old mchip mode */
#endif
}; };
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment