From: Vikram Narayanan Date: Wed, 26 Sep 2012 16:42:22 +0000 (+0530) Subject: arm/omap: Replace board_ref_clock with enum values X-Git-Tag: upstream/snapshot3+hdmi~6471^2~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=224cd7115abb5b05a5d665551452c271449ce80b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Cc: linux-omap@vger.kernel.org Reviewed-by: Pankaj Jangra Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index 2b012f9..c3832ddb 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c @@ -247,8 +247,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 6bcc107..a935f31 100644 --- a/arch/arm/mach-omap2/board-zoom-peripherals.c +++ b/arch/arm/mach-omap2/board-zoom-peripherals.c @@ -194,8 +194,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[] = {