summaryrefslogtreecommitdiff
path: root/drivers/core/simple-bus.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-19 10:40:03 -0700
committerSimon Glass <sjg@chromium.org>2021-01-05 12:24:41 -0700
commit6563b205eb65653e8fe0d3f92106ec37d28a4af7 (patch)
treee6438c8c50d3dfb64d4937fc42c61969770ec856 /drivers/core/simple-bus.c
parent332b98660f964895f05277dbbc2e0fd05d04ca9b (diff)
dm: core: Move priv/plat structs for simple_bus to headers
With the new of-platdata, these need to be available to dt_platdata.c so must be in header files. Move them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core/simple-bus.c')
-rw-r--r--drivers/core/simple-bus.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c
index 7dbcbecd94..b0c2c20958 100644
--- a/drivers/core/simple-bus.c
+++ b/drivers/core/simple-bus.c
@@ -5,12 +5,7 @@
#include <common.h>
#include <dm.h>
-
-struct simple_bus_plat {
- u32 base;
- u32 size;
- u32 target;
-};
+#include <dm/simple_bus.h>
fdt_addr_t simple_bus_translate(struct udevice *dev, fdt_addr_t addr)
{