summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorGrazvydas Ignotas <notasas@gmail.com>2010-10-01 16:35:25 -0700
committerTony Lindgren <tony@atomide.com>2010-10-01 16:35:25 -0700
commite13bb34bd9bbc01dcab9ed1b8adaa6a199ce059c (patch)
treec9ed2517abe9b9e9852459b5362bebcdbe9aa9b6 /arch/arm/mach-omap2
parent690a4a39b2429a4e397cd79e1dd16b6a5ca4111e (diff)
downloadop-kernel-dev-e13bb34bd9bbc01dcab9ed1b8adaa6a199ce059c.zip
op-kernel-dev-e13bb34bd9bbc01dcab9ed1b8adaa6a199ce059c.tar.gz
omap: pandora: enable twl4030 charger
Add platform data to make use of newly added charging driver. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/board-omap3pandora.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c
index 7c222ba..7192635 100644
--- a/arch/arm/mach-omap2/board-omap3pandora.c
+++ b/arch/arm/mach-omap2/board-omap3pandora.c
@@ -533,6 +533,8 @@ static struct twl4030_codec_data omap3pandora_codec_data = {
.audio = &omap3pandora_audio_data,
};
+static struct twl4030_bci_platform_data pandora_bci_data;
+
static struct twl4030_platform_data omap3pandora_twldata = {
.irq_base = TWL4030_IRQ_BASE,
.irq_end = TWL4030_IRQ_END,
@@ -548,6 +550,7 @@ static struct twl4030_platform_data omap3pandora_twldata = {
.vaux4 = &pandora_vaux4,
.vsim = &pandora_vsim,
.keypad = &pandora_kp_data,
+ .bci = &pandora_bci_data,
};
static struct i2c_board_info __initdata omap3pandora_i2c_boardinfo[] = {
OpenPOWER on IntegriCloud