RX-51: Register twl4030-madc device
Subsystems (3)
PATCH 1/1 RX-51: Register twl4030-madc device
Signed-off-by Pali Roh?r <[email protected]>
--- arch/arm/mach-omap2/board-rx51-peripherals.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm/mach-omap2/board-rx51-peripherals.c +11 -0
@@ -1364,6 +1364,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 ();
@@ -1386,5 +1396,6 @@ void __init rx51_peripherals_init(void)omap_hsmmc_init (mmc);rx51_charger_init (); +rx51_init_twl4030_hwmon (); }
Signature · 1 line
1.7.10.4
Quoted 1 line · Pali Roh?r
Signed-off-by Pali Roh?r <[email protected]>
Reviewed-by Pavel Machek <[email protected]>
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html