From: Ricardo Neri Date: Wed, 9 May 2012 21:19:14 +0000 (-0700) Subject: ARM: OMAP4: board-omap4panda: Register platform device for HDMI audio codec X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ce7962f9fa6021de3f8cdec5903b459b464e05e1;p=linux-beck.git ARM: OMAP4: board-omap4panda: Register platform device for HDMI audio codec Add platform device registratation for HDMI audio codec. This is to be able to transmit audio through the HDMI output featured in Pandaboard and PandaboardES boards. Signed-off-by: Ricardo Neri Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index 1b2eb289b8b8..dc11ddfeec9a 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c @@ -127,6 +127,11 @@ static struct platform_device panda_abe_audio = { }, }; +static struct platform_device panda_hdmi_audio_codec = { + .name = "hdmi-audio-codec", + .id = -1, +}; + static struct platform_device btwilink_device = { .name = "btwilink", .id = -1, @@ -136,6 +141,7 @@ static struct platform_device *panda_devices[] __initdata = { &leds_gpio, &wl1271_device, &panda_abe_audio, + &panda_hdmi_audio_codec, &btwilink_device, };