Re: [-mm patch 4/5] SharpSL: Abstract model specifics from Corgi Backlight driver

2005-09-08 Thread Russell King
On Tue, Sep 06, 2005 at 12:53:51PM +0100, Richard Purdie wrote: > +/* > + * Corgi/Spitz Backlight Power > + */ > +int corgi_bl_max(void) > +{ > + if (machine_is_corgi() || machine_is_shepherd() || machine_is_husky()) > + return 0x2e; > + return 0x3e; Couldn't this be passed in

[-mm patch 4/5] SharpSL: Abstract model specifics from Corgi Backlight driver

2005-09-06 Thread Richard Purdie
Separate out the Sharp Zaurus c7x0 series specific code from the Corgi backlight driver. Abstract model/machine specific functions to corgi_lcd.c via sharpsl.h This enables the driver to be used by the Zaurus cxx00 series. Signed-Off-by: Richard Purdie <[EMAIL PROTECTED]> Index: linux-2.6.12/dr