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;
--- 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
Quoted 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(+)
A message that is not in the archive (sent off-list or not yet received): CAPnjgZ1r2KFgJb4aS3tXr7awOxMaGLeTU6cUJW89vWXQF+E_yQ@mail.gmail.com
PATCH v2 1/1 dm: Fix build error when OF_CONTROL is not set
Quoted 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(+)
Applied to u-boot-dm, thanks!