On Fri, Oct 10, 2008 at 06:07:17PM +0530, ext Sanjeev Premi wrote:
> Fix these compiler warnings:
> smartreflex.c:126: warning: initialization makes integer from pointer without
> a cast
> smartreflex.c:134: warning: initialization makes integer from pointer without
> a cast
>
> Signed-off-by: Sanjeev Premi <[EMAIL PROTECTED]>
> ---
> arch/arm/mach-omap2/smartreflex.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/smartreflex.c
> b/arch/arm/mach-omap2/smartreflex.c
> index e54c0fb..8460633 100644
> --- a/arch/arm/mach-omap2/smartreflex.c
> +++ b/arch/arm/mach-omap2/smartreflex.c
> @@ -123,7 +123,7 @@ static struct omap_sr sr1 = {
> .is_sr_reset = 1,
> .is_autocomp_active = 0,
> .clk_length = 0,
> - .srbase_addr = OMAP2_IO_ADDRESS(OMAP34XX_SR1_BASE),
> + .srbase_addr = (u32)OMAP2_IO_ADDRESS(OMAP34XX_SR1_BASE),
please don't. Most likely srbase_addr should move to void __iomem *
Paul, any comments ??
> };
>
> static struct omap_sr sr2 = {
> @@ -131,7 +131,7 @@ static struct omap_sr sr2 = {
> .is_sr_reset = 1,
> .is_autocomp_active = 0,
> .clk_length = 0,
> - .srbase_addr = OMAP2_IO_ADDRESS(OMAP34XX_SR2_BASE),
> + .srbase_addr = (u32)OMAP2_IO_ADDRESS(OMAP34XX_SR2_BASE),
> };
>
> static struct sr_custom_clk sr1_custom_clk = {
> --
> 1.5.6
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html