summaryrefslogtreecommitdiff
path: root/include/linux/ssbi.h
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-12-11 03:35:17 +0400
committerLee Jones <lee.jones@linaro.org>2014-01-21 12:28:07 +0400
commit5eec14ccf90942fecd89e147e0b88ab12dd83e70 (patch)
tree616374af9fdabb3d67e2740c7554739eb5c4484f /include/linux/ssbi.h
parentbae911a055a3d88c8754e9c1879f29da6ba16663 (diff)
downloadlinux-5eec14ccf90942fecd89e147e0b88ab12dd83e70.tar.xz
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/linux/ssbi.h')
-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 a92561af60c2..bcbb642a7641 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