summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-09-20 09:02:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-09-20 09:02:12 +0200
commit1b2f03e580ff7d63fe280783707ddaad7dfdfa24 (patch)
tree7948123b2e267c823316cb21e34c90e22ef88b66 /include
parentd8f3ee103a9f4bd6f82a5830cfe38174864cfb86 (diff)
downloadbarebox-1b2f03e580ff7d63fe280783707ddaad7dfdfa24.tar.gz
barebox-1b2f03e580ff7d63fe280783707ddaad7dfdfa24.tar.xz
twl4030: Fix compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/i2c/twl4030.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/i2c/twl4030.h b/include/i2c/twl4030.h
index c9fbae0f00..3fef4d9ad6 100644
--- a/include/i2c/twl4030.h
+++ b/include/i2c/twl4030.h
@@ -456,6 +456,6 @@ extern struct twl4030 *twl4030_get(void);
extern int twl4030_reg_read(struct twl4030 *twl4030, u16 reg, u8 *val);
extern int twl4030_reg_write(struct twl4030 *twl4030, u16 reg, u8 val);
-extern int twl4030_set_bits(struct twl4030 *twl4030, enum twl4030_reg reg, u32 mask, u32 val);
+extern int twl4030_set_bits(struct twl4030 *twl4030, enum twl4030_reg reg, u8 mask, u8 val);
#endif /* __I2C_TWL4030_H */