[PATCH] ep93xx: register backlight driver

Ryan Mallon ryan at bluewatersys.com
Tue Jun 8 16:52:24 EDT 2010


H Hartley Sweeten wrote:
> On Monday, May 10, 2010 6:58 PM, H Hartley Sweeten wrote:
>> Add the platform registration for the ep93xx backlight driver
>> that is now queued in the backlight tree.
>>
>> Since the pwm BRIGHT signal only functions if the video system
>> is operating, register the backlight when the framebuffer device
>> is registered.
>>
>> Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
>> Cc: Ryan Mallon <ryan at bluewatersys.com>
> 
> Ryan,
> 
> The EP93xx backlight driver is now merged.
> commit 08b3924b24cdb1942393dc3009335a2153bd2eac
> 
> Do you have any issues with this patch to enable it?
> 
> Regards,
> Hartley
> 
> ---
> 
> This is based off next-20100510, if needed I can rebase it off
> another tree.
> 
> diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c
> index 8d3f77e..07d7bb9 100644
> --- a/arch/arm/mach-ep93xx/core.c
> +++ b/arch/arm/mach-ep93xx/core.c
> @@ -568,6 +568,11 @@ static struct platform_device ep93xx_fb_device = {
>  	.resource		= ep93xx_fb_resource,
>  };
>  
> +static struct platform_device ep93xx_bl_device = {
> +	.name		= "ep93xx-bl",
> +	.id		= -1,
> +};
> +
>  /**
>   * ep93xx_register_fb - Register the framebuffer platform device.
>   * @data:	platform specific framebuffer configuration (__initdata)
> @@ -576,6 +581,7 @@ void __init ep93xx_register_fb(struct ep93xxfb_mach_info *data)
>  {
>  	ep93xxfb_data = *data;
>  	platform_device_register(&ep93xx_fb_device);
> +	platform_device_register(&ep93xx_bl_device);
>  }

This is fine.

~Ryan

-- 
Bluewater Systems Ltd - ARM Technology Solution Centre

Ryan Mallon         		5 Amuri Park, 404 Barbadoes St
ryan at bluewatersys.com         	PO Box 13 889, Christchurch 8013
http://www.bluewatersys.com	New Zealand
Phone: +64 3 3779127		Freecall: Australia 1800 148 751
Fax:   +64 3 3779135			  USA 1800 261 2934



More information about the linux-arm-kernel mailing list