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

From: Thierry Reding
Date: Thu Dec 06 2012 - 02:52:57 EST


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' attribute to the affected variable declaration.
>
> Signed-off-by: Lothar WaÃmann <LW@xxxxxxxxxxxxxxxxxxx>

Applied, thanks.

Thierry

Attachment: pgp00000.pgp
Description: PGP signature