mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
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>
This commit is contained in:
parent
bae911a055
commit
5eec14ccf9
2 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue