Commit 4da69f49 authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Greg Kroah-Hartman

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: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fd086113
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
#ifndef _LINUX_NVMEM_CONSUMER_H #ifndef _LINUX_NVMEM_CONSUMER_H
#define _LINUX_NVMEM_CONSUMER_H #define _LINUX_NVMEM_CONSUMER_H
#include <linux/err.h>
#include <linux/errno.h>
struct device; struct device;
struct device_node; struct device_node;
/* consumer cookie */ /* consumer cookie */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment