* [PATCH 5/5] MFD AB3100 fix build warning
@ 2009-08-13 9:51 Linus Walleij
0 siblings, 0 replies; only message in thread
From: Linus Walleij @ 2009-08-13 9:51 UTC (permalink / raw)
To: Samuel Ortiz, linux-kernel; +Cc: Stephen Rothwell, dann frazier, Linus Walleij
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-13 9:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-13 9:51 [PATCH 5/5] MFD AB3100 fix build warning Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).