diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2011-12-13 13:48:54 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-12-13 13:48:54 -0500 |
commit | 95712de0ccd42d69623462e5d17cbd444f6fcccc (patch) | |
tree | ffca508d717715955f37ba7e378f3e0bae633663 /arch/arm/mach-omap2/board-4430sdp.c | |
parent | de9eb09726130dadc3e611c97fa2d753620662c1 (diff) |
ARM: OMAP4: board-4430sdp: Register platform device for digimic codec
OMAP4 SDP/Blaze boards have onboard digital microphones.
Register the platform device for the dmic-codec to be
able to use the microphones.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-4430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index ef2bbc09428a..b5d9c6fe012f 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -372,11 +372,17 @@ static struct platform_device sdp4430_vbat = { | |||
372 | }, | 372 | }, |
373 | }; | 373 | }; |
374 | 374 | ||
375 | static struct platform_device sdp4430_dmic_codec = { | ||
376 | .name = "dmic-codec", | ||
377 | .id = -1, | ||
378 | }; | ||
379 | |||
375 | static struct platform_device *sdp4430_devices[] __initdata = { | 380 | static struct platform_device *sdp4430_devices[] __initdata = { |
376 | &sdp4430_gpio_keys_device, | 381 | &sdp4430_gpio_keys_device, |
377 | &sdp4430_leds_gpio, | 382 | &sdp4430_leds_gpio, |
378 | &sdp4430_leds_pwm, | 383 | &sdp4430_leds_pwm, |
379 | &sdp4430_vbat, | 384 | &sdp4430_vbat, |
385 | &sdp4430_dmic_codec, | ||
380 | }; | 386 | }; |
381 | 387 | ||
382 | static struct omap_musb_board_data musb_board_data = { | 388 | static struct omap_musb_board_data musb_board_data = { |