From: Tom Rini Date: Thu, 26 Oct 2023 18:31:36 +0000 (-0400) Subject: clk_k210.c: Clean up how we handle nop X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=d563bb5d167dbb8630ececbb35e9cdbef0ddb4be;p=u-boot.git clk_k210.c: Clean up how we handle nop Now that sandbox has and defines nop() there we should include that in our driver for clarity and then remove our local nop() from . Reviewed-by: Sean Anderson Signed-off-by: Tom Rini --- diff --git a/drivers/clk/clk_k210.c b/drivers/clk/clk_k210.c index c534cc07e0..b9469b9385 100644 --- a/drivers/clk/clk_k210.c +++ b/drivers/clk/clk_k210.c @@ -16,6 +16,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/include/k210/pll.h b/include/k210/pll.h index fd16a89cb2..175c47f6f2 100644 --- a/include/k210/pll.h +++ b/include/k210/pll.h @@ -16,9 +16,6 @@ struct k210_pll_config { #ifdef CONFIG_UNIT_TEST TEST_STATIC int k210_pll_calc_config(u32 rate, u32 rate_in, struct k210_pll_config *best); -#ifndef nop -#define nop() -#endif #endif #endif /* K210_PLL_H */