arm/omap: Replace board_ref_clock with enum values
Subsystems (3)
PATCH 1/1 arm/omap: Replace board_ref_clock with enum values
Use the enum for board_ref_clock from linux/wl12xx.h
Signed-off-by Vikram Narayanan <[email protected]>
Cc Tony Lindgren <[email protected]>
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(-)
arch/arm/mach-omap2/board-omap4panda.c +1 -2
@@ -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 = {
arch/arm/mach-omap2/board-zoom-peripherals.c +1 -2
@@ -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[] = {
Signature · 1 line
1.7.4.1
PATCH 1/1 arm/omap: Replace board_ref_clock with enum values
Hi,
Quoted 5 lines · Vikram Narayanan
Use the enum for
board_ref_clockfromlinux/wl12xx.hSigned-off-by Vikram Narayanan <[email protected]>Cc Tony Lindgren <[email protected]>Cc linux-omap at vger.kernel.org
Quoted 7 lines
---
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<[email protected]>
--
Pankaj Jangra
Tony Lindgren
maintainerPATCH 1/1 arm/omap: Replace board_ref_clock with enum values
Quoted 11 lines · Pankaj Jangra
Hi,
Quoted 8 lines · Vikram Narayanan
Use the enum for
board_ref_clockfromlinux/wl12xx.hSigned-off-by Vikram Narayanan <[email protected]>Cc Tony Lindgren <[email protected]>Cc linux-omap at vger.kernel.org---
I'm not subscribed to the list. So please keep me in Cc for the replies.
Quoted 8 lines
Quoted 4 lines
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<[email protected]>
Thanks applying into omap fixes.
Tony