[PATCH 3/3] imxfb: add pwmr controlled backlight support

Eric Bénard eric at eukrea.com
Thu Jul 29 04:49:58 EDT 2010


Hi Uwe,

Le 29/07/2010 07:16, Uwe Kleine-König a écrit :
>> Signed-off-by: Eric Bénard<eric at eukrea.com>
>> ---
>> v2 : updated to use backlight infrastructure
> this should have a dependency on CONFIG_BACKLIGHT_CLASS_DEVICE.  As
> Sascha already took your patch you can just try to build mx27_defconfig
> on his for-rmk branch :-|
>
> Instead of a dependency I would prefer to have imxfb usable without
> CONFIG_BACKLIGHT_CLASS_DEVICE.  From a quick look there are drivers that
> have that.  (I checked drivers/video/sa1100fb.c +
> drivers/video/backlight/locomolcd.c.)
>
I've just sent a patch which fixes this build failure with mx27_defconfig.
When CONFIG_BACKLIGHT_CLASS_DEVICE is not selected, the driver is now as 
it was before my patch.

I'll try to put the backligh things in a driver into backlight directory 
when I find time, which will remove the #ifdef

Also, I confirm the patch you sent for 
arch/arm/plat-mxc/include/mach/gpio.h is necessary to compile a kernel 
using mx27_defconfig .

Thanks,
Eric



More information about the linux-arm-kernel mailing list