]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
I2C: TWL4030: Fix wrong variable warning
authorFelipe Balbi <felipe.balbi@nokia.com>
Fri, 11 Apr 2008 11:51:36 +0000 (14:51 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 11 Apr 2008 19:05:45 +0000 (12:05 -0700)
commitfb34e14bd781b7afec9ff4caa85eceb0112ac182
treee2df458968f47fb2682471bdc4c2ec481e18bfef
parentb9158d0e4d1930662ef7a992ee2430dcf7004ddc
I2C: TWL4030: Fix wrong variable warning

twl4030_i2c_write_u8 expects a u8 variable.
Change ctrl to be u8 in power_companion_init().

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/twl4030-core.c