Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72948
b: refs/heads/master
c: b23e79f
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Oct 31, 2007
1 parent 78353ac commit 2225c36
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 914301982f38e5842b28fd2f708208ea456b346a
refs/heads/master: b23e79fd87529706eb8e9e350226465b4abe70d2
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-omap1/board-h2.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ static struct platform_device *h2_devices[] __initdata = {
&h2_mcbsp1_device,
};

#ifdef CONFIG_I2C_BOARDINFO
static struct i2c_board_info __initdata h2_i2c_board_info[] = {
{
I2C_BOARD_INFO("tps65010", 0x48),
Expand All @@ -356,6 +357,7 @@ static struct i2c_board_info __initdata h2_i2c_board_info[] = {
* - ... etc
*/
};
#endif

static void __init h2_init_smc91x(void)
{
Expand Down Expand Up @@ -467,8 +469,10 @@ static void __init h2_init(void)
if (gpio_request(58, "tps65010") == 0)
gpio_direction_input(58);

#ifdef CONFIG_I2C_BOARDINFO
i2c_register_board_info(1, h2_i2c_board_info,
ARRAY_SIZE(h2_i2c_board_info));
#endif
}

static void __init h2_map_io(void)
Expand Down

0 comments on commit 2225c36

Please sign in to comment.