diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2015-03-10 21:29:00 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-11 09:36:38 +0100 |
commit | 3c5e8206c2660e33f31f500465f24357efd4cf3d (patch) | |
tree | 0aa50d9431530d7dda77d3e10fcfc40e0a8cf441 /include/param.h | |
parent | 73c23eec0e78d0ea5692d79b936d10650647eecd (diff) | |
download | barebox-3c5e8206c2660e33f31f500465f24357efd4cf3d.tar.gz barebox-3c5e8206c2660e33f31f500465f24357efd4cf3d.tar.xz |
parameter: include header for ERR_PTR and errno
Commit 03b59bdb64e83e (paramter: The dev_add_param_*() return ERR_PTR(),
change no-ops to return ERR_PTR(-ENOSYS) instead of NULL) started using
ERR_PTR and errnos without including the relevant header.
This fixes the build for a lot of configurations.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/param.h')
-rw-r--r-- | include/param.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/param.h b/include/param.h index bd2c078996..3a851fc552 100644 --- a/include/param.h +++ b/include/param.h @@ -1,6 +1,7 @@ #ifndef PARAM_H #define PARAM_H +#include <linux/err.h> #include <linux/types.h> #include <linux/list.h> |