HAOUAS Elyes has uploaded this change for review.

View Change

src: Remove redundant <pnp_type.h>

When <device/pnp.h> is needed, supposed to provide <device/pnp_type.h>.

Change-Id: I0e479e2abdb6cfb8633840db2222ce5397fe7d55
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
---
M src/include/device/pnp.h
M src/include/device/pnp_ops.h
M src/superio/nuvoton/nct5104d/early_init.c
3 files changed, 1 insertion(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/45403/1
diff --git a/src/include/device/pnp.h b/src/include/device/pnp.h
index bbd0498..cf809d0 100644
--- a/src/include/device/pnp.h
+++ b/src/include/device/pnp.h
@@ -3,7 +3,7 @@

#include <stdint.h>
#include <device/device.h>
-/* When <device/pnp.h> is needed, it supposed to provide <device/pnp_def.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 0d63f1b..15acf36 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_type.h>

#if ENV_PNP_SIMPLE_DEVICE

diff --git a/src/superio/nuvoton/nct5104d/early_init.c b/src/superio/nuvoton/nct5104d/early_init.c
index 5ed4c5c..c5e9388 100644
--- a/src/superio/nuvoton/nct5104d/early_init.c
+++ b/src/superio/nuvoton/nct5104d/early_init.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */

#include <arch/io.h>
-#include <device/pnp_type.h>
#include <device/pnp.h>
#include <stdint.h>
#include "nct5104d.h"

To view, visit change 45403. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0e479e2abdb6cfb8633840db2222ce5397fe7d55
Gerrit-Change-Number: 45403
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-MessageType: newchange