device/device.h: Remove static.h include
commit1a02eb7c342923dc8de28d4f92549e12adfdf379
authorNicholas Chin <nic.c3.14@gmail.com>
Mon, 30 Sep 2024 02:06:01 +0000 (29 20:06 -0600)
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>
Sun, 10 Nov 2024 19:12:30 +0000 (10 19:12 +0000)
treebb0d77482d54bd053a3380db801fe07a66bf94a8
parent05765c8951f34e53d92680d5e74062cbffa692d8
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>
src/include/device/device.h