Re: [PATCH] pwm: i.MX: eliminate build warning

2012-12-05 Thread Thierry Reding
On Wed, Dec 05, 2012 at 04:34:41PM +0100, Lothar Waßmann wrote: > compiling the i.MX pwm driver produces the following warning: > |drivers/pwm/pwm-imx.c: In function 'imx_pwm_probe': > |drivers/pwm/pwm-imx.c:281:7: warning: assignment discards qualifiers from > pointer target type > > Apply a

Re: [PATCH] pwm: i.MX: eliminate build warning

2012-12-05 Thread Sascha Hauer
On Wed, Dec 05, 2012 at 04:34:41PM +0100, Lothar Waßmann wrote: > compiling the i.MX pwm driver produces the following warning: > |drivers/pwm/pwm-imx.c: In function 'imx_pwm_probe': > |drivers/pwm/pwm-imx.c:281:7: warning: assignment discards qualifiers from > pointer target type > > Apply a

[PATCH] pwm: i.MX: eliminate build warning

2012-12-05 Thread Lothar Waßmann
compiling the i.MX pwm driver produces the following warning: |drivers/pwm/pwm-imx.c: In function 'imx_pwm_probe': |drivers/pwm/pwm-imx.c:281:7: warning: assignment discards qualifiers from pointer target type Apply a 'const' attribute to the affected variable declaration. Signed-off-by: Lothar

[PATCH] pwm: i.MX: eliminate build warning

2012-12-05 Thread Lothar Waßmann
compiling the i.MX pwm driver produces the following warning: |drivers/pwm/pwm-imx.c: In function 'imx_pwm_probe': |drivers/pwm/pwm-imx.c:281:7: warning: assignment discards qualifiers from pointer target type Apply a 'const' attribute to the affected variable declaration. Signed-off-by: Lothar

Re: [PATCH] pwm: i.MX: eliminate build warning

2012-12-05 Thread Sascha Hauer
On Wed, Dec 05, 2012 at 04:34:41PM +0100, Lothar Waßmann wrote: compiling the i.MX pwm driver produces the following warning: |drivers/pwm/pwm-imx.c: In function 'imx_pwm_probe': |drivers/pwm/pwm-imx.c:281:7: warning: assignment discards qualifiers from pointer target type Apply a 'const'

Re: [PATCH] pwm: i.MX: eliminate build warning

2012-12-05 Thread Thierry Reding
On Wed, Dec 05, 2012 at 04:34:41PM +0100, Lothar Waßmann wrote: compiling the i.MX pwm driver produces the following warning: |drivers/pwm/pwm-imx.c: In function 'imx_pwm_probe': |drivers/pwm/pwm-imx.c:281:7: warning: assignment discards qualifiers from pointer target type Apply a 'const'