aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-12-10 15:35:17 -0800
committerLee Jones <lee.jones@linaro.org>2014-01-21 08:28:07 +0000
commit5eec14ccf90942fecd89e147e0b88ab12dd83e70 (patch)
tree616374af9fdabb3d67e2740c7554739eb5c4484f /include
parentbae911a055a3d88c8754e9c1879f29da6ba16663 (diff)
mfd: ssbi: Constify buffer in ssbi_write
In preparation for passing a const pointer directly to ssbi_write() from the regmap APIs. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ssbi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ssbi.h b/include/linux/ssbi.h
index a92561af60c..bcbb642a764 100644
--- a/include/linux/ssbi.h
+++ b/include/linux/ssbi.h
@@ -17,7 +17,7 @@
#include <linux/types.h>
-int ssbi_write(struct device *dev, u16 addr, u8 *buf, int len);
+int ssbi_write(struct device *dev, u16 addr, const u8 *buf, int len);
int ssbi_read(struct device *dev, u16 addr, u8 *buf, int len);
#endif