[PATCH 2/7 v2] Add clock framework for plat-tcc

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Mar 25 16:32:42 EDT 2010


On Thu, Mar 25, 2010 at 09:09:16PM +0100, Hans J. Koch wrote:
> +#define BCLKCTR0	(void __iomem *)(CKC_BASE + BCLKCTR0_OFFS)
> +#define BCLKCTR1	(void __iomem *)(CKC_BASE + BCLKCTR1_OFFS)

If you define CKC_BASE to have type 'void __iomem *' then all these
cases go away.

> +	reg = __raw_readl(CKC_BASE + CLKCTRL_OFFS);

And this won't warn in the future.



More information about the linux-arm-kernel mailing list