Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206521
b: refs/heads/master
c: 492e2bf
h: refs/heads/master
i:
  206519: c788333
v: v3
  • Loading branch information
apatard@mandriva.com authored and Mark Brown committed May 31, 2010
1 parent 4ad0622 commit 25d9f5a
Show file tree
Hide file tree
Showing 2 changed files with 14 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: 49106c729053b3c7c963a988aeaf00aa2424a7aa
refs/heads/master: 492e2bf141478e2c1ce3abfda381f73d1f2108f5
13 changes: 13 additions & 0 deletions trunk/arch/arm/mach-kirkwood/openrd-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <linux/mtd/partitions.h>
#include <linux/ata_platform.h>
#include <linux/mv643xx_eth.h>
#include <linux/i2c.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <mach/kirkwood.h>
Expand Down Expand Up @@ -60,6 +61,12 @@ static unsigned int openrd_mpp_config[] __initdata = {
0
};

static struct i2c_board_info i2c_board_info[] __initdata = {
{
I2C_BOARD_INFO("cs42l51", 0x4a),
},
};

static void __init openrd_init(void)
{
/*
Expand All @@ -80,6 +87,12 @@ static void __init openrd_init(void)
kirkwood_sdio_init(&openrd_mvsdio_data);

kirkwood_i2c_init();

if (machine_is_openrd_client()) {
i2c_register_board_info(0, i2c_board_info,
ARRAY_SIZE(i2c_board_info));
kirkwood_audio_init();
}
}

static int __init openrd_pci_init(void)
Expand Down

0 comments on commit 25d9f5a

Please sign in to comment.