From 0dff46c74fa39fe30d5277faea446e1636af7b45 Mon Sep 17 00:00:00 2001 From: Mika Westerberg Date: Sun, 11 Sep 2011 12:28:54 +0300 Subject: [PATCH] --- yaml --- r: 270583 b: refs/heads/master c: 075b20b0475b1289c14ecbe0cc26754f45b7d7b6 h: refs/heads/master i: 270581: ade670574bf7b55c2e1c6b0462b2ede201f9400c 270579: e1054fc2a06daf377f616c7f33ca94e292011be8 270575: 6b222dccb96baa42b58045ca34259f2b9f58a2d3 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-ep93xx/edb93xx.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index dc10e85240d6..5ead38a9ac0b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e5063fe8ac218357a9804044bc17263993f0495d +refs/heads/master: 075b20b0475b1289c14ecbe0cc26754f45b7d7b6 diff --git a/trunk/arch/arm/mach-ep93xx/edb93xx.c b/trunk/arch/arm/mach-ep93xx/edb93xx.c index 9969bb115f60..8dc51e464a4e 100644 --- a/trunk/arch/arm/mach-ep93xx/edb93xx.c +++ b/trunk/arch/arm/mach-ep93xx/edb93xx.c @@ -159,6 +159,11 @@ static void __init edb93xx_register_spi(void) /************************************************************************* * EDB93xx I2S *************************************************************************/ +static struct platform_device edb93xx_audio_device = { + .name = "edb93xx-audio", + .id = -1, +}; + static int __init edb93xx_has_audio(void) { return (machine_is_edb9301() || machine_is_edb9302() || @@ -170,6 +175,7 @@ static void __init edb93xx_register_i2s(void) { if (edb93xx_has_audio()) { ep93xx_register_i2s(); + platform_device_register(&edb93xx_audio_device); } }