Commit 224cd711 authored by Vikram Narayanan's avatar Vikram Narayanan Committed by Tony Lindgren

arm/omap: Replace board_ref_clock with enum values

Use the enum for board_ref_clock from linux/wl12xx.h
Signed-off-by: default avatarVikram Narayanan <vikram186@gmail.com>
Cc: linux-omap@vger.kernel.org
Reviewed-by: Pankaj Jangra<jangra.pankaj9@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 09d98622
...@@ -247,8 +247,7 @@ static struct platform_device omap_vwlan_device = { ...@@ -247,8 +247,7 @@ static struct platform_device omap_vwlan_device = {
}; };
static struct wl12xx_platform_data omap_panda_wlan_data __initdata = { static struct wl12xx_platform_data omap_panda_wlan_data __initdata = {
/* PANDA ref clock is 38.4 MHz */ .board_ref_clock = WL12XX_REFCLOCK_38, /* 38.4 MHz */
.board_ref_clock = 2,
}; };
static struct twl6040_codec_data twl6040_codec = { static struct twl6040_codec_data twl6040_codec = {
......
...@@ -194,8 +194,7 @@ static struct platform_device omap_vwlan_device = { ...@@ -194,8 +194,7 @@ static struct platform_device omap_vwlan_device = {
}; };
static struct wl12xx_platform_data omap_zoom_wlan_data __initdata = { static struct wl12xx_platform_data omap_zoom_wlan_data __initdata = {
/* ZOOM ref clock is 26 MHz */ .board_ref_clock = WL12XX_REFCLOCK_26, /* 26 MHz */
.board_ref_clock = 1,
}; };
static struct omap2_hsmmc_info mmc[] = { static struct omap2_hsmmc_info mmc[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment