Message ID | 5063306E.8080200@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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@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 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
* 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@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 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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[] = {
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@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(-)