From 6a2350f8c9d60f318b3ffff3231b4ca891957da4 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 19 Dec 2020 10:40:04 -0700 Subject: x86: sysreset: 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 and add the dtd struct too. Signed-off-by: Simon Glass Reviewed-by: Andy Shevchenko --- drivers/sysreset/sysreset_x86.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'drivers/sysreset') diff --git a/drivers/sysreset/sysreset_x86.c b/drivers/sysreset/sysreset_x86.c index 8f9970301e..8042f3994f 100644 --- a/drivers/sysreset/sysreset_x86.c +++ b/drivers/sysreset/sysreset_x86.c @@ -13,10 +13,7 @@ #include #include #include - -struct x86_sysreset_plat { - struct udevice *pch; -}; +#include /* * Power down the machine by using the power management sleep control -- cgit v1.2.3