summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-12-11 00:35:17 +0100
committerLee Jones <lee.jones@linaro.org>2014-01-21 09:28:07 +0100
commit5eec14ccf90942fecd89e147e0b88ab12dd83e70 (patch)
tree616374af9fdabb3d67e2740c7554739eb5c4484f /include
parentmfd: ssbi: Remove platform data structs and hide ssbi type enum (diff)
downloadlinux-5eec14ccf90942fecd89e147e0b88ab12dd83e70.tar.xz
linux-5eec14ccf90942fecd89e147e0b88ab12dd83e70.zip
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 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