[PATCH] ARM: tegra: Fix data type for io address

Stephen Warren swarren at wwwdotorg.org
Fri Sep 7 11:25:57 EDT 2012


On 09/06/2012 11:40 PM, Prashant Gaikwad wrote:
> Warnings were generated because following commit changed data type for
> address pointer
> 
> 195bbca ARM: 7500/1: io: avoid writeback addressing modes for __raw_ accessors
> 
> arch/arm/mach-tegra/tegra30_clocks.c: In function 'clk_measure_input_freq':
> arch/arm/mach-tegra/tegra30_clocks.c:418:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast
> .../arch/arm/include/asm/io.h:88:20: note: expected 'volatile void *' but argument is of type 'unsigned int
> 
> Signed-off-by: Prashant Gaikwad <pgaikwad at nvidia.com>

Thanks, applied to Tegra's for-3.7/common-clk branch.



More information about the linux-arm-kernel mailing list