summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-06-02 11:05:12 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-25 14:42:55 (GMT)
commita6c50912508d80164a5e607993b617be85a46d73 (patch)
treeb67160159aec1e1a31a7ad6e60976e4c2f00b340 /Makefile
parentdeb319705e7eb60a870e24f75ff8d6452372e350 (diff)
downloadlinux-a6c50912508d80164a5e607993b617be85a46d73.tar.xz
nvmem: Declare nvmem_cell_read() consistently
nvmem_cell_read() is declared as void * if CONFIG_NVMEM is enabled, and as char * otherwise. This can result in a build warning if CONFIG_NVMEM is not enabled and a caller asigns the result to a type other than char * without using a typecast. Use a consistent declaration to avoid the problem. Fixes: e2a5402ec7c6 ("nvmem: Add nvmem_device based consumer apis.") Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions