Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7195696 authored by Rob Herring's avatar Rob Herring
Browse files

OF: add empty of_device_is_available for !OF



Add an empty version of of_device_is_available.

Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
parent 0583fe47
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -379,6 +379,11 @@ static inline int of_device_is_compatible(const struct device_node *device,
	return 0;
}

static inline int of_device_is_available(const struct device_node *device)
{
	return 0;
}

static inline struct property *of_find_property(const struct device_node *np,
						const char *name,
						int *lenp)