From 1a02eb7c342923dc8de28d4f92549e12adfdf379 Mon Sep 17 00:00:00 2001 From: Nicholas Chin Date: Sun, 29 Sep 2024 20:06:01 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/84590 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/include/device/device.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/include/device/device.h b/src/include/device/device.h index 6b4f64c781..f28a46b3bb 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -9,7 +9,6 @@ #include #include /* IWYU pragma: export */ #include -#include #include #include -- cgit v1.2.3