[PATCH] clk: ccf: Add missing #include <dm/uclass.h> to clk-mux.c

Lukasz Majewski lukma at denx.de
Mon Aug 24 11:36:49 CEST 2020


After adding custom get_rate helper function it was necessary to include
<dm/uclass.h> to avoid warnings about missing uclass_get_device_by_name.

Signed-off-by: Lukasz Majewski <lukma at denx.de>
---

 drivers/clk/clk-mux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/clk-mux.c b/drivers/clk/clk-mux.c
index ec8017b7d2fc..7a5ee7a45fcc 100644
--- a/drivers/clk/clk-mux.c
+++ b/drivers/clk/clk-mux.c
@@ -26,6 +26,7 @@
 #include <clk-uclass.h>
 #include <dm/device.h>
 #include <dm/devres.h>
+#include <dm/uclass.h>
 #include <linux/bitops.h>
 #include <malloc.h>
 #include <asm/io.h>
-- 
2.20.1



More information about the U-Boot mailing list