summaryrefslogtreecommitdiffstats
path: root/include/i2c
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-10-02 12:52:26 +0200
commita992155c62b6686a999de33adf935cb58a52a98d (patch)
tree49349b64cb4f3ba500a10e148765a318fb64442c /include/i2c
parentbd4ee84b1bad1ea7613a7e4972e708ece8f09576 (diff)
downloadbarebox-a992155c62b6686a999de33adf935cb58a52a98d.tar.gz
barebox-a992155c62b6686a999de33adf935cb58a52a98d.tar.xz
twl4030: Fix compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/i2c')
-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 */