aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/clk_sandbox.c
diff options
context:
space:
mode:
authorSimon Glass2021-03-15 17:25:22 +1300
committerSimon Glass2021-03-26 17:03:08 +1300
commitcc7ffd3adc2e30cdd4b7154ecc7bd505ec258366 (patch)
treec4804509facec3f00bff586f8a1fb2eb9f2f7147 /drivers/clk/clk_sandbox.c
parente8c023c3f95622dace696be2f671a5eb01572c07 (diff)
clk: sandbox: Move priv/plat data to a header file
At present the structs used by this driver are not accessible outside it, so cannot be used with OF_PLATDATA_INST. Move them to a header file to fix this. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/clk/clk_sandbox.c')
-rw-r--r--drivers/clk/clk_sandbox.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/clk/clk_sandbox.c b/drivers/clk/clk_sandbox.c
index b28b67b4486..e1313f6d880 100644
--- a/drivers/clk/clk_sandbox.c
+++ b/drivers/clk/clk_sandbox.c
@@ -10,13 +10,6 @@
#include <malloc.h>
#include <asm/clk.h>
-struct sandbox_clk_priv {
- bool probed;
- ulong rate[SANDBOX_CLK_ID_COUNT];
- bool enabled[SANDBOX_CLK_ID_COUNT];
- bool requested[SANDBOX_CLK_ID_COUNT];
-};
-
static ulong sandbox_clk_get_rate(struct clk *clk)
{
struct sandbox_clk_priv *priv = dev_get_priv(clk->dev);