[U-Boot] [PATCH 2/2] clk: fix compilation errors for poplar platform
Simon Glass
sjg at chromium.org
Sun Aug 6 05:15:30 UTC 2017
On 25 July 2017 at 05:24, <patrice.chotard at st.com> wrote:
> From: Patrice Chotard <patrice.chotard at st.com>
>
> Move clk_release_all() prototype and definition inside
> OF_CONTROL flag to avoid following compilation error for
> poplar platform:
>
> aarch64: + poplar
> +drivers/usb/host/built-in.o: In function `ehci_usb_remove':
> +drivers/usb/host/ehci-generic.c:159: undefined reference to `clk_release_all'
> +drivers/usb/host/built-in.o: In function `ehci_usb_probe':
> +drivers/usb/host/ehci-generic.c:133: undefined reference to `clk_release_all'
> +make[1]: *** [u-boot] Error 139
> +make: *** [sub-make] Error 2
>
> Introduced by 4e542c4 clk: add clk_release_all()
>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
> drivers/clk/clk-uclass.c | 47 ++++++++++++++++++++++++-----------------------
> include/clk.h | 35 +++++++++++++++++++++--------------
> 2 files changed, 45 insertions(+), 37 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list