[PATCH v3] video/imxfb.c: allow usage without BACKLIGHT_CLASS_DEVICE
Sergei Shtylyov
sshtylyov at mvista.com
Thu Jul 29 09:23:53 EDT 2010
Hello.
Eric Bénard wrote:
> Signed-off-by: Eric Bénard <eric at eukrea.com>
[...]
> diff --git a/drivers/video/imxfb.c b/drivers/video/imxfb.c
> index 43f0639..2f9b7e3 100644
> --- a/drivers/video/imxfb.c
> +++ b/drivers/video/imxfb.c
> @@ -40,6 +40,12 @@
> */
> #define DEBUG_VAR 1
>
> +#if defined(CONFIG_BACKLIGHT_CLASS_DEVICE) || \
> + (defined(CONFIG_BACKLIGHT_CLASS_DEVICE_MODULE) && \
> + defined(CONFIG_FB_IMX__MODULE))
Are you sure there should be two underscores before MODULE?
WBR, Sergei
More information about the linux-arm-kernel
mailing list