summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap4panda.c
diff options
context:
space:
mode:
authorVikram Narayanan <vikram186@gmail.com>2012-09-26 18:42:22 +0200
committerTony Lindgren <tony@atomide.com>2012-10-09 03:09:30 +0200
commit224cd7115abb5b05a5d665551452c271449ce80b (patch)
tree60c5b22582c1f33554640db4f81d54fdbeaf6214 /arch/arm/mach-omap2/board-omap4panda.c
parentARM: OMAP2+: remove duplicated include from board-omap3stalker.c (diff)
downloadlinux-224cd7115abb5b05a5d665551452c271449ce80b.tar.xz
linux-224cd7115abb5b05a5d665551452c271449ce80b.zip
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 <vikram186@gmail.com> Cc: linux-omap@vger.kernel.org Reviewed-by: Pankaj Jangra<jangra.pankaj9@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap4panda.c')
-rw-r--r--arch/arm/mach-omap2/board-omap4panda.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index 2b012f9d6925..c3832ddb07f9 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 = {