mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-05 02:50:44 +09:00
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: 45224e8f26
("dm: core: gracefully handle alias seq without of")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
This commit is contained in:
parent
68a699e1e8
commit
1351e3eb72
@ -9,6 +9,8 @@
|
|||||||
#ifndef _DM_READ_H
|
#ifndef _DM_READ_H
|
||||||
#define _DM_READ_H
|
#define _DM_READ_H
|
||||||
|
|
||||||
|
#include <linux/errno.h>
|
||||||
|
|
||||||
#include <dm/fdtaddr.h>
|
#include <dm/fdtaddr.h>
|
||||||
#include <dm/ofnode.h>
|
#include <dm/ofnode.h>
|
||||||
#include <dm/uclass.h>
|
#include <dm/uclass.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user