ARM: pxa/cm-x300: properly set bt_reset pin
authorAxel Lin <axel.lin@gmail.com>
Sat, 17 Sep 2011 14:15:34 +0000 (22:15 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 25 Oct 2011 14:36:51 +0000 (22:36 +0800)
commit1a64200ec5e93be03e27c3b2fc332e04ae443eb2
tree8a0e9ccbd1df61347e7386f9edf4bf678c4e9081
parentc149f6c8ae47c35821d93e2bffd5a3a7ca54ad9e
ARM: pxa/cm-x300: properly set bt_reset pin

Fix below build warning and properly set bt_reset pin.

  CC      arch/arm/mach-pxa/cm-x300.o
arch/arm/mach-pxa/cm-x300.c: In function 'cm_x300_init_wi2wi':
arch/arm/mach-pxa/cm-x300.c:779: warning: unused variable 'wlan_en'
arch/arm/mach-pxa/cm-x300.c:795: warning: 'bt_reset' may be used uninitialized in this function

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: <stable@kernel.org>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/cm-x300.c