"Das U-Boot" Source Tree

clk_k210.c: Clean up how we handle nop

Now that sandbox has <asm/barrier.h> and defines nop() there we should
include that in our driver for clarity and then remove our local nop()
from <k210/pll.h>.

Reviewed-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>

Tom Rini d563bb5d eff0aa47

+1 -3
+1
drivers/clk/clk_k210.c
··· 16 16 #include <dt-bindings/mfd/k210-sysctl.h> 17 17 #include <k210/pll.h> 18 18 #include <linux/bitfield.h> 19 + #include <asm/barrier.h> 19 20 20 21 DECLARE_GLOBAL_DATA_PTR; 21 22
-3
include/k210/pll.h
··· 16 16 #ifdef CONFIG_UNIT_TEST 17 17 TEST_STATIC int k210_pll_calc_config(u32 rate, u32 rate_in, 18 18 struct k210_pll_config *best); 19 - #ifndef nop 20 - #define nop() 21 - #endif 22 19 23 20 #endif 24 21 #endif /* K210_PLL_H */