From: Tony Lindgren <tony@atomide.com>
To: Dirk Behme <dirk.behme@googlemail.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH v3] ARM: OMAP3: Fix warnings in clock34xx.h
Date: Thu, 3 Jul 2008 14:02:15 +0300 [thread overview]
Message-ID: <20080703110212.GW14276@atomide.com> (raw)
In-Reply-To: <48651B85.9030904@googlemail.com>
* Dirk Behme <dirk.behme@googlemail.com> [080627 19:56]:
>
> Fix warnings
>
> arch/arm/mach-omap2/clock34xx.h:178: warning: initialization makes
> pointer from integer without a cast
> arch/arm/mach-omap2/clock34xx.h:204: warning: initialization makes
> pointer from integer without a cast
> arch/arm/mach-omap2/clock34xx.h:229: warning: initialization makes
> pointer from integer without a cast
Pushing today.
Tony
>
> Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
>
>
> Subject: ARM: OMAP3: Fix warnings in clock34xx.h
>
> From: Dirk Behme <dirk.behme@gmail.com>
>
> Fix warnings
>
> arch/arm/mach-omap2/clock34xx.h:178: warning: initialization makes pointer from integer without a cast
> arch/arm/mach-omap2/clock34xx.h:204: warning: initialization makes pointer from integer without a cast
> arch/arm/mach-omap2/clock34xx.h:229: warning: initialization makes pointer from integer without a cast
>
>
> Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
>
> ---
>
> Changes in V3: Update to recent git.
>
> Index: linux-beagle/arch/arm/mach-omap2/clock34xx.h
> ===================================================================
> --- linux-beagle.orig/arch/arm/mach-omap2/clock34xx.h
> +++ linux-beagle/arch/arm/mach-omap2/clock34xx.h
> @@ -53,14 +53,17 @@ static int omap3_noncore_dpll_set_rate(s
> #define DPLL_LOW_POWER_BYPASS 0x5
> #define DPLL_LOCKED 0x7
>
> +#define _OMAP34XX_PRM_REGADDR(module, reg) \
> + ((__force void __iomem *)(OMAP34XX_PRM_REGADDR((module), (reg))))
> +
> #define OMAP3430_PRM_CLKSRC_CTRL \
> - OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, 0x0070)
> + _OMAP34XX_PRM_REGADDR(OMAP3430_GR_MOD, OMAP3_PRM_CLKSRC_CTRL_OFFSET)
>
> #define OMAP3430_PRM_CLKSEL \
> - OMAP34XX_PRM_REGADDR(OMAP3430_CCR_MOD, OMAP3_PRM_CLKSEL_OFFSET)
> + _OMAP34XX_PRM_REGADDR(OMAP3430_CCR_MOD, OMAP3_PRM_CLKSEL_OFFSET)
>
> #define OMAP3430_PRM_CLKOUT_CTRL \
> - OMAP34XX_PRM_REGADDR(OMAP3430_CCR_MOD, OMAP3_PRM_CLKOUT_CTRL_OFFSET)
> + _OMAP34XX_PRM_REGADDR(OMAP3430_CCR_MOD, OMAP3_PRM_CLKOUT_CTRL_OFFSET)
>
> /* PRM CLOCKS */
>
prev parent reply other threads:[~2008-07-03 12:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-27 16:55 [PATCH v3] ARM: OMAP3: Fix warnings in clock34xx.h Dirk Behme
2008-07-03 11:02 ` Tony Lindgren [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080703110212.GW14276@atomide.com \
--to=tony@atomide.com \
--cc=dirk.behme@googlemail.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox