diff options
author | Vikram Narayanan <vikram186@gmail.com> | 2012-09-26 12:42:22 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-08 21:09:30 -0400 |
commit | 224cd7115abb5b05a5d665551452c271449ce80b (patch) | |
tree | 60c5b22582c1f33554640db4f81d54fdbeaf6214 /arch/arm | |
parent | 09d986226e71fb2643ddd24e48b7ab485cbc6cfd (diff) |
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')
-rw-r--r-- | arch/arm/mach-omap2/board-omap4panda.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-zoom-peripherals.c | 3 |
2 files changed, 2 insertions, 4 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 = { | |||
247 | }; | 247 | }; |
248 | 248 | ||
249 | static struct wl12xx_platform_data omap_panda_wlan_data __initdata = { | 249 | static struct wl12xx_platform_data omap_panda_wlan_data __initdata = { |
250 | /* PANDA ref clock is 38.4 MHz */ | 250 | .board_ref_clock = WL12XX_REFCLOCK_38, /* 38.4 MHz */ |
251 | .board_ref_clock = 2, | ||
252 | }; | 251 | }; |
253 | 252 | ||
254 | static struct twl6040_codec_data twl6040_codec = { | 253 | 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 6bcc107b9fc3..a935f319e719 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 = { | |||
194 | }; | 194 | }; |
195 | 195 | ||
196 | static struct wl12xx_platform_data omap_zoom_wlan_data __initdata = { | 196 | static struct wl12xx_platform_data omap_zoom_wlan_data __initdata = { |
197 | /* ZOOM ref clock is 26 MHz */ | 197 | .board_ref_clock = WL12XX_REFCLOCK_26, /* 26 MHz */ |
198 | .board_ref_clock = 1, | ||
199 | }; | 198 | }; |
200 | 199 | ||
201 | static struct omap2_hsmmc_info mmc[] = { | 200 | static struct omap2_hsmmc_info mmc[] = { |