From 6563b205eb65653e8fe0d3f92106ec37d28a4af7 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 19 Dec 2020 10:40:03 -0700 Subject: 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 --- include/dm/simple_bus.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/dm/simple_bus.h (limited to 'include') diff --git a/include/dm/simple_bus.h b/include/dm/simple_bus.h new file mode 100644 index 00000000000..4ad4cc4051d --- /dev/null +++ b/include/dm/simple_bus.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2020 Google LLC + */ + +#ifndef __DM_SIMPLE_BUS_H +#define __DM_SIMPLE_BUS_H + +struct simple_bus_plat { + u32 base; + u32 size; + u32 target; +}; + +#endif -- cgit v1.2.3