summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-10-26 14:31:36 -0400
committerTom Rini <[email protected]>2023-11-07 14:49:40 -0500
commitd563bb5d167dbb8630ececbb35e9cdbef0ddb4be (patch)
treedd689ad4a097144319a4882a99fad9b6076ebfcc /include
parenteff0aa47b5e668dde39a0d9d1b2de92cd5fa8f29 (diff)
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 <[email protected]> Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/k210/pll.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/k210/pll.h b/include/k210/pll.h
index fd16a89cb20..175c47f6f23 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 */