summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap4panda.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-02-20 10:11:08 -0800
committerTony Lindgren <tony@atomide.com>2012-02-20 10:11:08 -0800
commit856c5403462419eff9a7891efeee7bddc2a08af6 (patch)
tree2f4bb681e10ec1f895600fa0a4b0b177dadf6fb4 /arch/arm/mach-omap2/board-omap4panda.c
parentb0ee4e394009f02a1d1b166091a19e8b842b4ea4 (diff)
parentd517110243130965e2803cc2373d434bdaf6dafb (diff)
downloadblackbird-op-linux-856c5403462419eff9a7891efeee7bddc2a08af6.tar.gz
blackbird-op-linux-856c5403462419eff9a7891efeee7bddc2a08af6.zip
Merge branch 'fixes-mmc' into fixes
Diffstat (limited to 'arch/arm/mach-omap2/board-omap4panda.c')
-rw-r--r--arch/arm/mach-omap2/board-omap4panda.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index b7779c206a90..28fc271f7031 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -488,13 +488,15 @@ void omap4_panda_display_init(void)
static void __init omap4_panda_init(void)
{
int package = OMAP_PACKAGE_CBS;
+ int ret;
if (omap_rev() == OMAP4430_REV_ES1_0)
package = OMAP_PACKAGE_CBL;
omap4_mux_init(board_mux, NULL, package);
- if (wl12xx_set_platform_data(&omap_panda_wlan_data))
- pr_err("error setting wl12xx data\n");
+ ret = wl12xx_set_platform_data(&omap_panda_wlan_data);
+ if (ret)
+ pr_err("error setting wl12xx data: %d\n", ret);
omap4_panda_i2c_init();
platform_add_devices(panda_devices, ARRAY_SIZE(panda_devices));
OpenPOWER on IntegriCloud