Re: [PATCH] meye: fix missing pm_mchip_mode field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 21, 2020 at 11:32:29PM +0200, Hans Verkuil wrote:
> After patch 9c4a8489ab7c ("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@xxxxxxxxx>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Fixes: 9c4a8489ab7c ("media: meye: use generic power management")
> ---
> diff --git a/drivers/media/pci/meye/meye.h b/drivers/media/pci/meye/meye.h
> index c957d9b55f89..5fa6552cf93d 100644
> --- a/drivers/media/pci/meye/meye.h
> +++ b/drivers/media/pci/meye/meye.h
> @@ -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
Thank you so much for the fix.

--Vaibhav Gupta



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux