Skip to content

Commit

Permalink
media: meye: fix missing pm_mchip_mode field
Browse files Browse the repository at this point in the history
After commit 9c4a848 ("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: 9c4a848 ("media: meye: use generic power management")
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
Hans Verkuil authored and sigmaris committed Aug 8, 2020
1 parent 193df57 commit cc21bdb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/media/pci/meye/meye.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cc21bdb

Please sign in to comment.