Messages in this thread Patch in this message | | | From | Linus Walleij <> | Subject | [PATCH 5/5] MFD AB3100 fix build warning | Date | Thu, 13 Aug 2009 11:51:04 +0200 |
| |
This fixes a build warning in the AB3100 driver reported by Stephen Rothwell and Dann Frazier due to a mismatched prototype in the ab3100_get_set_reg() file operation callback.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> --- drivers/mfd/ab3100-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/ab3100-core.c b/drivers/mfd/ab3100-core.c index 16675f7..098e825 100644 --- a/drivers/mfd/ab3100-core.c +++ b/drivers/mfd/ab3100-core.c @@ -470,7 +470,7 @@ static int ab3100_get_set_reg_open_file(struct inode *inode, struct file *file) return 0; } -static int ab3100_get_set_reg(struct file *file, +static ssize_t ab3100_get_set_reg(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) { -- 1.6.2.1
| |