Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270583
b: refs/heads/master
c: 075b20b
h: refs/heads/master
i:
  270581: ade6705
  270579: e1054fc
  270575: 6b222dc
v: v3
  • Loading branch information
Mika Westerberg authored and Mark Brown committed Sep 16, 2011
1 parent 498945b commit 0dff46c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e5063fe8ac218357a9804044bc17263993f0495d
refs/heads/master: 075b20b0475b1289c14ecbe0cc26754f45b7d7b6
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-ep93xx/edb93xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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() ||
Expand All @@ -170,6 +175,7 @@ static void __init edb93xx_register_i2s(void)
{
if (edb93xx_has_audio()) {
ep93xx_register_i2s();
platform_device_register(&edb93xx_audio_device);
}
}

Expand Down

0 comments on commit 0dff46c

Please sign in to comment.