Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355703
b: refs/heads/master
c: 749a34b
h: refs/heads/master
i:
  355701: 5fd386a
  355699: b676c1f
  355695: b3ea05a
v: v3
  • Loading branch information
Pali Rohár authored and Tony Lindgren committed Feb 1, 2013
1 parent 7dda3a9 commit ea17989
Show file tree
Hide file tree
Showing 2 changed files with 12 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: 1e7bf5e3629f294652517a707a28ff8fe75d3564
refs/heads/master: 749a34b37de27918c88391f8f62f65e9e26e8689
11 changes: 11 additions & 0 deletions trunk/arch/arm/mach-omap2/board-rx51-peripherals.c
Original file line number Diff line number Diff line change
Expand Up @@ -1262,6 +1262,16 @@ static void __init rx51_init_lirc(void)
}
#endif

static struct platform_device madc_hwmon = {
.name = "twl4030_madc_hwmon",
.id = -1,
};

static void __init rx51_init_twl4030_hwmon(void)
{
platform_device_register(&madc_hwmon);
}

void __init rx51_peripherals_init(void)
{
rx51_i2c_init();
Expand All @@ -1281,5 +1291,6 @@ void __init rx51_peripherals_init(void)
omap_hsmmc_init(mmc);

rx51_charger_init();
rx51_init_twl4030_hwmon();
}

0 comments on commit ea17989

Please sign in to comment.