linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm/omap: Replace board_ref_clock with enum values
@ 2012-09-26 16:42 Vikram Narayanan
  2012-09-28  2:24 ` Pankaj Jangra
  0 siblings, 1 reply; 3+ messages in thread
From: Vikram Narayanan @ 2012-09-26 16:42 UTC (permalink / raw)
  To: linux-arm-kernel

Use the enum for board_ref_clock from linux/wl12xx.h

Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-omap at vger.kernel.org
---
I'm not subscribed to the list. So please keep me in Cc for the replies.

 arch/arm/mach-omap2/board-omap4panda.c       |    3 +--
 arch/arm/mach-omap2/board-zoom-peripherals.c |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index 70f6d1d..e188765 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -248,8 +248,7 @@ static struct platform_device omap_vwlan_device = {
 };
 
 static struct wl12xx_platform_data omap_panda_wlan_data  __initdata = {
-	/* PANDA ref clock is 38.4 MHz */
-	.board_ref_clock = 2,
+	.board_ref_clock = WL12XX_REFCLOCK_38, /* 38.4 MHz */
 };
 
 static struct twl6040_codec_data twl6040_codec = {
diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c b/arch/arm/mach-omap2/board-zoom-peripherals.c
index b797cb2..499dca7 100644
--- a/arch/arm/mach-omap2/board-zoom-peripherals.c
+++ b/arch/arm/mach-omap2/board-zoom-peripherals.c
@@ -193,8 +193,7 @@ static struct platform_device omap_vwlan_device = {
 };
 
 static struct wl12xx_platform_data omap_zoom_wlan_data __initdata = {
-	/* ZOOM ref clock is 26 MHz */
-	.board_ref_clock = 1,
+	.board_ref_clock = WL12XX_REFCLOCK_26, /* 26 MHz */
 };
 
 static struct omap2_hsmmc_info mmc[] = {
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] arm/omap: Replace board_ref_clock with enum values
  2012-09-26 16:42 [PATCH] arm/omap: Replace board_ref_clock with enum values Vikram Narayanan
@ 2012-09-28  2:24 ` Pankaj Jangra
  2012-10-08 21:41   ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Pankaj Jangra @ 2012-09-28  2:24 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On Wed, Sep 26, 2012 at 10:12 PM, Vikram Narayanan <vikram186@gmail.com> wrote:
> Use the enum for board_ref_clock from linux/wl12xx.h
>
> Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: linux-omap at vger.kernel.org
> ---
> I'm not subscribed to the list. So please keep me in Cc for the replies.
>
>  arch/arm/mach-omap2/board-omap4panda.c       |    3 +--
>  arch/arm/mach-omap2/board-zoom-peripherals.c |    3 +--
>  2 files changed, 2 insertions(+), 4 deletions(-)
>

Looks good.

Reviewed-by: Pankaj Jangra<jangra.pankaj9@gmail.com>

--
Pankaj Jangra

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] arm/omap: Replace board_ref_clock with enum values
  2012-09-28  2:24 ` Pankaj Jangra
@ 2012-10-08 21:41   ` Tony Lindgren
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2012-10-08 21:41 UTC (permalink / raw)
  To: linux-arm-kernel

* Pankaj Jangra <jangra.pankaj9@gmail.com> [120927 19:25]:
> Hi,
> 
> On Wed, Sep 26, 2012 at 10:12 PM, Vikram Narayanan <vikram186@gmail.com> wrote:
> > Use the enum for board_ref_clock from linux/wl12xx.h
> >
> > Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
> > Cc: Tony Lindgren <tony@atomide.com>
> > Cc: linux-omap at vger.kernel.org
> > ---
> > I'm not subscribed to the list. So please keep me in Cc for the replies.
> >
> >  arch/arm/mach-omap2/board-omap4panda.c       |    3 +--
> >  arch/arm/mach-omap2/board-zoom-peripherals.c |    3 +--
> >  2 files changed, 2 insertions(+), 4 deletions(-)
> >
> 
> Looks good.
> 
> Reviewed-by: Pankaj Jangra<jangra.pankaj9@gmail.com>

Thanks applying into omap fixes.

Tony

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-08 21:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-26 16:42 [PATCH] arm/omap: Replace board_ref_clock with enum values Vikram Narayanan
2012-09-28  2:24 ` Pankaj Jangra
2012-10-08 21:41   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).