dm: Fix build error when OF_CONTROL is not set
PATCH v2 1/1 dm: Fix build error when OF_CONTROL is not set
With OF_CONTROL disabled the build fails forinclude/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]>
--- include/dm/read.h | 2 ++ 1 file changed, 2 insertions(+)
include/dm/read.h +2 -0
@@ -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>
Signature · 1 line
2.27.0
PATCH v2 1/1 dm: Fix build error when OF_CONTROL is not set
In reply to a message not in the archiveQuoted 11 lines · Dan Murphy
With
OF_CONTROLdisabled the build fails forinclude/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]>--- include/dm/read.h | 2 ++ 1 file changed, 2 insertions(+)
Reviewed-by Simon Glass <[email protected]>
Applied to u-boot-dm, thanks!
PATCH v2 1/1 dm: Fix build error when OF_CONTROL is not set
In reply to Dan MurphyQuoted 11 lines · Dan Murphy
With
OF_CONTROLdisabled the build fails forinclude/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]>--- include/dm/read.h | 2 ++ 1 file changed, 2 insertions(+)
Reviewed-by Simon Glass <[email protected]>