diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-15 08:06:40 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-18 10:10:40 +0100 |
commit | d972277284b91f7f0c1ee99a5c0a74c04c0c9f88 (patch) | |
tree | 07601d4695f44dc2b320520b90af66e5601438e3 | |
parent | 34b9e71708f71d69a087eb2209445f16fd831218 (diff) | |
download | barebox-d972277284b91f7f0c1ee99a5c0a74c04c0c9f88.tar.gz barebox-d972277284b91f7f0c1ee99a5c0a74c04c0c9f88.tar.xz |
mfd: twl-core: Add missing prototype for twlcore_get()
twlcore_get() has no prototype provided in header file. Add it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | include/mfd/twl-core.h | 7 |
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__ */ |