Re: [PATCH] ARM: omap2: set CONFIG_LIRC=y in defconfig

From: Lokesh Vutla
Date: Tue Feb 27 2018 - 00:53:49 EST




On Tuesday 27 February 2018 02:10 AM, Arnd Bergmann wrote:
> The CONFIG_LIRC symbol has changed from 'tristate' to 'bool, so we now
> get a warning for omap2plus_defconfig:
>
> arch/arm/configs/omap2plus_defconfig:322:warning: symbol value 'm' invalid for LIRC
>
> This changes the file to mark the symbol as built-in to get rid of the
> warning.
>
> Fixes: a60d64b15c20 ("media: lirc: lirc interface should not be a raw decoder")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Reviewed-by: Lokesh Vutla <lokeshvutla@xxxxxx>

Thank and regards,
Lokesh

> ---
> arch/arm/configs/omap2plus_defconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
> index 2f145c4af93a..92674f247a12 100644
> --- a/arch/arm/configs/omap2plus_defconfig
> +++ b/arch/arm/configs/omap2plus_defconfig
> @@ -319,7 +319,7 @@ CONFIG_MEDIA_CAMERA_SUPPORT=y
> CONFIG_RC_CORE=m
> CONFIG_MEDIA_CONTROLLER=y
> CONFIG_VIDEO_V4L2_SUBDEV_API=y
> -CONFIG_LIRC=m
> +CONFIG_LIRC=y
> CONFIG_RC_DEVICES=y
> CONFIG_IR_RX51=m
> CONFIG_V4L_PLATFORM_DRIVERS=y
>