]> git.baikalelectronics.ru Git - kernel.git/commit
nvmem: include linux/err.h from header
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 26 Jul 2017 09:34:48 +0000 (11:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 15:33:23 +0000 (17:33 +0200)
commitb133e44bc9ae59edfdc8fb2cc79b5363fd420b5b
tree8c3f2e716c117022cc16c0af14f896fcdb0b3375
parentc921cec33a8229abea4677399cbd78d05ddd3b8a
nvmem: include linux/err.h from header

missing err.h header file can cause simillar errors like below
in some configurations.
"error: implicit declaration of function 'ERR_PTR'
[-Werror=implicit-function-declaration]"

This adds the missing include to ensure we can always include
the header.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/nvmem-consumer.h