diff options
| author | Dan Murphy <[email protected]> | 2020-07-23 07:01:38 -0500 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2020-07-27 21:03:15 +0200 |
| commit | 1351e3eb724d709f13ef5a5e3be7472e242dc6b4 (patch) | |
| tree | d4f78ff8dda2c8e2037be815989f106c831935b4 /include | |
| parent | 68a699e1e84ea4570e8ec6ae21521d200b158748 (diff) | |
dm: Fix build error when OF_CONTROL is not set
With OF_CONTROL disabled the build fails for
include/dm/read.h:932:10: error: ‘ENOTSUPP’ undeclared (first use in this function)
932 | return -ENOTSUPP;
Fixes: 45224e8f2691 ("dm: core: gracefully handle alias seq without of")
Signed-off-by: Dan Murphy <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/dm/read.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dm/read.h b/include/dm/read.h index f02ec959541..b1a61085440 100644 --- a/include/dm/read.h +++ b/include/dm/read.h @@ -9,6 +9,8 @@ #ifndef _DM_READ_H #define _DM_READ_H +#include <linux/errno.h> + #include <dm/fdtaddr.h> #include <dm/ofnode.h> #include <dm/uclass.h> |
