9
0
Fork 0

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:
Lucas Stach 2015-03-10 21:29:00 +01:00 committed by Sascha Hauer
parent 73c23eec0e
commit 3c5e8206c2
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#ifndef PARAM_H
#define PARAM_H
#include <linux/err.h>
#include <linux/types.h>
#include <linux/list.h>