summaryrefslogtreecommitdiff
path: root/src/include/device
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-09-15 07:45:17 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-09-17 13:21:48 +0000
commit4b683b85a8ecb87b128ac13a5f2af67532903917 (patch)
treea773a8f52367a1dd3fe05e25e55a2d1b99530311 /src/include/device
parent28cb14bf133f63f9451610348f9a84370c4b3c59 (diff)
downloadcoreboot-4b683b85a8ecb87b128ac13a5f2af67532903917.tar.xz
src: Remove redundant <device/pnp_def.h>
When <device/pnp.h> is needed, it is supposed to provide <device/pnp_def.h>. So remove redundant <device/pnp_def.h> includes. I'll remove also <device/pnp_type.h> in a separate patch. Change-Id: Ib9903ae456c32db4ba346020659c17c27a939e89 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45316 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/include/device')
-rw-r--r--src/include/device/pnp.h1
-rw-r--r--src/include/device/pnp_ops.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/pnp.h b/src/include/device/pnp.h
index 7340bbfe9c..cf809d027c 100644
--- a/src/include/device/pnp.h
+++ b/src/include/device/pnp.h
@@ -3,6 +3,7 @@
#include <stdint.h>
#include <device/device.h>
+/* When <device/pnp.h> is needed, it supposed to provide <device/pnp_{def,type}.h> */
#include <device/pnp_def.h>
#include <device/pnp_type.h>
#include <arch/io.h>
diff --git a/src/include/device/pnp_ops.h b/src/include/device/pnp_ops.h
index 18b35befcd..0d63f1bdde 100644
--- a/src/include/device/pnp_ops.h
+++ b/src/include/device/pnp_ops.h
@@ -6,7 +6,6 @@
#include <stdint.h>
#include <arch/io.h>
#include <device/pnp.h>
-#include <device/pnp_def.h>
#include <device/pnp_type.h>
#if ENV_PNP_SIMPLE_DEVICE