mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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 <[email protected]> Reported-by: kernel test robot <[email protected]> Fixes:9c4a8489ab("media: meye: use generic power management") Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
e3083c3f36
commit
43663dc4f4
@@ -305,9 +305,7 @@ struct meye {
|
||||
u16 colour;
|
||||
struct meye_params params; /* additional parameters */
|
||||
unsigned long in_use; /* set to 1 if the device is in use */
|
||||
#ifdef CONFIG_PM
|
||||
u8 pm_mchip_mode; /* old mchip mode */
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user