[PATCH v4 04/11] ep93xx: Use ioremap for backlight driver

Mika Westerberg mika.westerberg at iki.fi
Tue Mar 13 01:45:09 EDT 2012


On Tue, Mar 13, 2012 at 09:48:15AM +1100, Ryan Mallon wrote:
> The ep93xx backlight driver uses a single register within the
> framebuffer's register space. Currently the backlight driver uses a
> static IO mapping for the register since the memory cannot be
> requested by both drivers.
> 
> Convert the static mapping to use ioremap so that we can remove the
> dependency on mach/hardware.h. To do so, we need remove the
> request_mem_region from both the backlight and framebuffer drivers,
> since whichever driver is loaded second will fail with -EBUSY
> otherwise.
> 
> A proper fix is still required, and a FIXME comment has been added to
> both drivers.
> 
> Signed-off-by: Ryan Mallon <rmallon at gmail.com>
> Suggested-by: Arnd Bergmann <arnd at arndb.de>
> Cc: H Hartley Sweeten <hsweeten at visionengravers.com>
> Cc: Mika Westerberg <mika.westerberg at iki.fi>

Reviewed-by: Mika Westerberg <mika.westerberg at iki.fi>



More information about the linux-arm-kernel mailing list