Messages in this thread | | | Date | Thu, 6 Dec 2012 08:52:57 +0100 | From | Thierry Reding <> | Subject | Re: [PATCH] pwm: i.MX: eliminate build warning |
| |
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@KARO-electronics.de>
Applied, thanks.
Thierry [unhandled content-type:application/pgp-signature] | |