[PATCH 2/3] clk: at91: Include device_compat.h in compat.c

Tom Rini trini at konsulko.com
Fri Oct 16 14:42:45 CEST 2020


Necessary for dev_xxx.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 drivers/clk/at91/compat.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/at91/compat.c b/drivers/clk/at91/compat.c
index 8cf6254046dd..9563285674b3 100644
--- a/drivers/clk/at91/compat.c
+++ b/drivers/clk/at91/compat.c
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <clk-uclass.h>
 #include <dm.h>
+#include <dm/device_compat.h>
 #include <dm/lists.h>
 #include <dm/util.h>
 #include <mach/at91_pmc.h>
-- 
2.17.1



More information about the U-Boot mailing list