parameter: include header for ERR_PTR and errno
Commit 03b59bdb64
(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>
This commit is contained in:
parent
73c23eec0e
commit
3c5e8206c2
|
@ -1,6 +1,7 @@
|
|||
#ifndef PARAM_H
|
||||
#define PARAM_H
|
||||
|
||||
#include <linux/err.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/list.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue