Re: [PATCH 09/11] [POWERPC] Motion-PRO: Add LED support.

2007-10-25 Thread Marian Balakowicz
Grant Likely wrote: ... >> + >> +static int __init mpled_init(void) >> +{ >> + int i, error; >> + >> + for (i = 0; i < sizeof(led) / sizeof(struct motionpro_led); i++){ >> + led[i].reg_addr = mpc52xx_find_and_map(led[i].reg_compat); > > Please use of-platform-bus bindings

Re: [PATCH 09/11] [POWERPC] Motion-PRO: Add LED support.

2007-10-24 Thread Grant Likely
On 10/23/07, Marian Balakowicz <[EMAIL PROTECTED]> wrote: > Add LED driver for Promess Motion-PRO board. > > Signed-off-by: Jan Wrobel <[EMAIL PROTECTED]> > Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> > --- > > drivers/leds/Kconfig |7 + > drivers/leds/Makefile |3

[PATCH 09/11] [POWERPC] Motion-PRO: Add LED support.

2007-10-23 Thread Marian Balakowicz
Add LED driver for Promess Motion-PRO board. Signed-off-by: Jan Wrobel <[EMAIL PROTECTED]> Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- drivers/leds/Kconfig |7 + drivers/leds/Makefile |3 - drivers/leds/leds-motionpro.c | 222 +++