diff options
author | Tony Lindgren <tony@atomide.com> | 2012-02-20 10:11:08 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-20 10:11:08 -0800 |
commit | 856c5403462419eff9a7891efeee7bddc2a08af6 (patch) | |
tree | 2f4bb681e10ec1f895600fa0a4b0b177dadf6fb4 /arch/arm/mach-omap2/board-omap4panda.c | |
parent | b0ee4e394009f02a1d1b166091a19e8b842b4ea4 (diff) | |
parent | d517110243130965e2803cc2373d434bdaf6dafb (diff) | |
download | blackbird-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.c | 6 |
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)); |