Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270582
b: refs/heads/master
c: e5063fe
h: refs/heads/master
v: v3
  • Loading branch information
Mika Westerberg authored and Mark Brown committed Sep 16, 2011
1 parent ade6705 commit 498945b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 62e4f7d1386f3e9c126fc7febc719d504b3e344b
refs/heads/master: e5063fe8ac218357a9804044bc17263993f0495d
13 changes: 12 additions & 1 deletion trunk/arch/arm/mach-ep93xx/simone.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,17 @@ static struct i2c_board_info __initdata simone_i2c_board_info[] = {
},
};

static struct platform_device simone_audio_device = {
.name = "simone-audio",
.id = -1,
};

static void __init simone_register_audio(void)
{
ep93xx_register_ac97();
platform_device_register(&simone_audio_device);
}

static void __init simone_init_machine(void)
{
ep93xx_init_devices();
Expand All @@ -61,7 +72,7 @@ static void __init simone_init_machine(void)
ep93xx_register_fb(&simone_fb_info);
ep93xx_register_i2c(&simone_i2c_gpio_data, simone_i2c_board_info,
ARRAY_SIZE(simone_i2c_board_info));
ep93xx_register_ac97();
simone_register_audio();
}

MACHINE_START(SIM_ONE, "Simplemachines Sim.One Board")
Expand Down

0 comments on commit 498945b

Please sign in to comment.