Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/84590?usp=email )
Change subject: device/device.h: Remove static.h include ......................................................................
device/device.h: Remove static.h include
As per commit 865173153760 ("sconfig: Move config_of_soc from device.h to static.h") and commit 05a13e7ed9b9 ("sconfig: Move (WEAK_)DEV_PTR from device.h to static.h"), sources that require access to the devicetree should directly include static.h. This allows static.h to be removed from device.h, eliminating many unnecessary dependencies on the devicetree for objects that only need the device types and function declarations.
Now that static.h has been included throughout the tree where necessary, it can be removed from device.h.
Change-Id: Ie72840c71ffca2ada82456dda6a2c813f6a6c3ad Signed-off-by: Nicholas Chin nic.c3.14@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/84590 Reviewed-by: Felix Singer service+coreboot-gerrit@felixsinger.de Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Angel Pons th3fanbus@gmail.com --- M src/include/device/device.h 1 file changed, 0 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved Felix Singer: Looks good to me, approved
diff --git a/src/include/device/device.h b/src/include/device/device.h index 6b4f64c..f28a46b 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -9,7 +9,6 @@ #include <device/pci_type.h> #include <device/resource.h> /* IWYU pragma: export */ #include <smbios.h> -#include <static.h> #include <stdlib.h> #include <types.h>