lkml.org 
[lkml]   [2009]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 5/5] MFD AB3100 fix build warning
Date
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


\
 
 \ /
  Last update: 2009-08-13 11:53    [W:0.020 / U:1.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site