Message ID | 20200824093649.22316-1-lukma@denx.de |
---|---|
State | Accepted |
Commit | ebd3f1f0d032cc35dfb8d03da7f7ade6e9a51aef |
Delegated to: | Lukasz Majewski |
Headers | show |
Series | clk: ccf: Add missing #include <dm/uclass.h> to clk-mux.c | expand |
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>
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@denx.de> --- drivers/clk/clk-mux.c | 1 + 1 file changed, 1 insertion(+)