summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mfd/twl-core.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/mfd/twl-core.h b/include/mfd/twl-core.h
index 88d29f019b..35920bd3e0 100644
--- a/include/mfd/twl-core.h
+++ b/include/mfd/twl-core.h
@@ -23,8 +23,9 @@ struct twlcore {
extern struct cdev_operations twl_fops;
-extern int twlcore_reg_read(struct twlcore *twlcore, u16 reg, u8 *val);
-extern int twlcore_reg_write(struct twlcore *twlcore, u16 reg, u8 val);
-extern int twlcore_set_bits(struct twlcore *twlcore, u16 reg, u8 mask, u8 val);
+int twlcore_reg_read(struct twlcore *twlcore, u16 reg, u8 *val);
+int twlcore_reg_write(struct twlcore *twlcore, u16 reg, u8 val);
+int twlcore_set_bits(struct twlcore *twlcore, u16 reg, u8 mask, u8 val);
+struct twlcore *twlcore_get(void);
#endif /* __MFD_TWLCORE_H__ */