media: meye: fix missing pm_mchip_mode field
After commit9c4a8489ab
("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: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reported-by: kernel test robot <lkp@intel.com> Fixes:9c4a8489ab
("media: meye: use generic power management") Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
e3083c3f36
commit
43663dc4f4
@@ -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
|
||||||
|
Reference in New Issue
Block a user