From 9ae53d1bb4b192041770877c253da255b2b463a2 Mon Sep 17 00:00:00 2001 From: Francesco Dolcini Date: Wed, 22 Feb 2023 09:08:55 +0100 Subject: misc: uclass: Fix compile error Add #include to fix the following compiler error +In file included from drivers/pinctrl/nxp/pinctrl-scu.c:11: +include/misc.h:87:25: error: unknown type name 'ofnode' + 87 | int misc_init_by_ofnode(ofnode node); + | ^~~~~~ Upstream-Status: Inappropriate [other] The fixed commit is present only on the downstream TI branch, therefore there is nothing to send to upstream denx repository. We might think about sending this patch to TI in the future. Fixes: 9d9fd0a3b18f ("misc: uclass: Introduce misc_init_by_ofnode") Signed-off-by: Francesco Dolcini --- include/misc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/misc.h b/include/misc.h index 79263ed480..d523b43c33 100644 --- a/include/misc.h +++ b/include/misc.h @@ -6,6 +6,8 @@ #ifndef _MISC_H_ #define _MISC_H_ +#include + /** * misc_read() - Read the device to buffer, optional. * @dev: the device -- cgit v1.2.3