summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-zoom-peripherals.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-02-20 19:11:08 +0100
committerTony Lindgren <tony@atomide.com>2012-02-20 19:11:08 +0100
commit856c5403462419eff9a7891efeee7bddc2a08af6 (patch)
tree2f4bb681e10ec1f895600fa0a4b0b177dadf6fb4 /arch/arm/mach-omap2/board-zoom-peripherals.c
parentMerge branch 'for_3.3/fixes/pm' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
parentARM: OMAP: Fix build error when mmc_omap is built as module (diff)
downloadlinux-856c5403462419eff9a7891efeee7bddc2a08af6.tar.xz
linux-856c5403462419eff9a7891efeee7bddc2a08af6.zip
Merge branch 'fixes-mmc' into fixes
Diffstat (limited to 'arch/arm/mach-omap2/board-zoom-peripherals.c')
-rw-r--r--arch/arm/mach-omap2/board-zoom-peripherals.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c b/arch/arm/mach-omap2/board-zoom-peripherals.c
index 8d7ce11cfeaf..c126461836ac 100644
--- a/arch/arm/mach-omap2/board-zoom-peripherals.c
+++ b/arch/arm/mach-omap2/board-zoom-peripherals.c
@@ -296,8 +296,10 @@ static void enable_board_wakeup_source(void)
void __init zoom_peripherals_init(void)
{
- if (wl12xx_set_platform_data(&omap_zoom_wlan_data))
- pr_err("error setting wl12xx data\n");
+ int ret = wl12xx_set_platform_data(&omap_zoom_wlan_data);
+
+ if (ret)
+ pr_err("error setting wl12xx data: %d\n", ret);
omap_i2c_init();
platform_device_register(&omap_vwlan_device);