summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Chin <nic.c3.14@gmail.com>2024-09-29 20:06:01 -0600
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-11-10 19:12:30 +0000
commit1a02eb7c342923dc8de28d4f92549e12adfdf379 (patch)
treebb0d77482d54bd053a3380db801fe07a66bf94a8
parent05765c8951f34e53d92680d5e74062cbffa692d8 (diff)
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>
-rw-r--r--src/include/device/device.h1
1 files changed, 0 insertions, 1 deletions
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 <device/pci_type.h>
#include <device/resource.h> /* IWYU pragma: export */
#include <smbios.h>
-#include <static.h>
#include <stdlib.h>
#include <types.h>