mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-12 03:26:26 +00:00
RX-51: Register twl4030-madc device
Register twl4030-madc device Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
1e7bf5e362
commit
749a34b37d
1 changed files with 11 additions and 0 deletions
|
@ -1262,6 +1262,16 @@ static void __init rx51_init_lirc(void)
|
||||||
}
|
}
|
||||||
#endif
|
#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)
|
void __init rx51_peripherals_init(void)
|
||||||
{
|
{
|
||||||
rx51_i2c_init();
|
rx51_i2c_init();
|
||||||
|
@ -1281,5 +1291,6 @@ void __init rx51_peripherals_init(void)
|
||||||
omap_hsmmc_init(mmc);
|
omap_hsmmc_init(mmc);
|
||||||
|
|
||||||
rx51_charger_init();
|
rx51_charger_init();
|
||||||
|
rx51_init_twl4030_hwmon();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue