Skip to content

Commit 43663dc

Browse files
Hans Verkuilmchehab
authored andcommitted
media: meye: fix missing pm_mchip_mode field
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]>
1 parent e3083c3 commit 43663dc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/media/pci/meye/meye.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,7 @@ struct meye {
305305
u16 colour;
306306
struct meye_params params; /* additional parameters */
307307
unsigned long in_use; /* set to 1 if the device is in use */
308-
#ifdef CONFIG_PM
309308
u8 pm_mchip_mode; /* old mchip mode */
310-
#endif
311309
};
312310

313311
#endif

0 commit comments

Comments
 (0)