aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-19 10:39:57 -0700
committerSimon Glass <sjg@chromium.org>2021-01-05 12:24:41 -0700
commit366c4eb4b5df420de3cc32be3089bef68a883d97 (patch)
treeddfd15ef97a49ef8325211c494e2fd3785a5bd9a /drivers
parent370746ada7cfd93de248c2274618ba635f9d1f46 (diff)
downloadu-boot-366c4eb4b5df420de3cc32be3089bef68a883d97.zip
u-boot-366c4eb4b5df420de3cc32be3089bef68a883d97.tar.gz
u-boot-366c4eb4b5df420de3cc32be3089bef68a883d97.tar.bz2
x86: apl: Move priv/plat structs 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')
-rw-r--r--drivers/pinctrl/intel/pinctrl_apl.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/pinctrl/intel/pinctrl_apl.c b/drivers/pinctrl/intel/pinctrl_apl.c
index b512a85..acaa55d 100644
--- a/drivers/pinctrl/intel/pinctrl_apl.c
+++ b/drivers/pinctrl/intel/pinctrl_apl.c
@@ -17,18 +17,6 @@
#include <asm-generic/gpio.h>
#include <asm/intel_pinctrl_defs.h>
-/**
- * struct apl_gpio_plat - platform data for each device
- *
- * @dtplat: of-platdata data from C struct
- */
-struct apl_gpio_plat {
-#if CONFIG_IS_ENABLED(OF_PLATDATA)
- /* Put this first since driver model will copy the data here */
- struct dtd_intel_apl_pinctrl dtplat;
-#endif
-};
-
static const struct reset_mapping rst_map[] = {
{ .logical = PAD_CFG0_LOGICAL_RESET_PWROK, .chipset = 0U << 30 },
{ .logical = PAD_CFG0_LOGICAL_RESET_DEEP, .chipset = 1U << 30 },