diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-03-20 21:58:17 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-04-06 14:43:32 +0200 |
commit | 311282ba6686a9410c7b3123b95b2281c0042f37 (patch) | |
tree | fe105973c2e4389a083b8ede6eef6e52ed42c76f /include/mfd | |
parent | bd9ad3a602295fb9aa8882fbf27c54288b150d5f (diff) | |
download | barebox-311282ba6686a9410c7b3123b95b2281c0042f37.tar.gz barebox-311282ba6686a9410c7b3123b95b2281c0042f37.tar.xz |
rename file_operations -> cdev_operations
Linux also has struct file_operations which are something different.
Rename our file_operations to cdev_operations which better matches
what we have.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/mfd')
-rw-r--r-- | include/mfd/twl-core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mfd/twl-core.h b/include/mfd/twl-core.h index f090032b3f..88d29f019b 100644 --- a/include/mfd/twl-core.h +++ b/include/mfd/twl-core.h @@ -21,7 +21,7 @@ struct twlcore { struct i2c_client *client; }; -extern struct file_operations twl_fops; +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); |