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>
This commit is contained in:
Elyes HAOUAS 2020-09-15 07:45:17 +02:00 committed by Felix Held
parent 28cb14bf13
commit 4b683b85a8
8 changed files with 2 additions and 7 deletions

View File

@ -5,7 +5,6 @@
#include <arch/io.h>
#include <device/device.h>
#include <device/pnp.h>
#include <device/pnp_def.h>
/* PNP config mode wrappers */

View File

@ -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>

View File

@ -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

View File

@ -6,7 +6,6 @@
#include <device/pnp.h>
#include <acpi/acpigen.h>
#include <acpi/acpi.h>
#include <device/pnp_def.h>
#include <console/console.h>
#include <types.h>
#include <string.h>

View File

@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <arch/io.h>
#include <device/pnp_def.h>
#include <device/pnp_ops.h>
#include <device/pnp.h>
#include <stdint.h>

View File

@ -7,7 +7,7 @@
#include <device/pnp_ops.h>
#include <console/console.h>
#include <device/pnp.h>
#include <device/pnp_def.h>
#include "pilot.h"
/*

View File

@ -5,7 +5,6 @@
#include <arch/io.h>
#include <device/pnp_ops.h>
#include <device/pnp.h>
#include <device/pnp_def.h>
#include <stdint.h>
#include "kbc1100.h"

View File

@ -2,7 +2,6 @@
#include <device/device.h>
#include <device/pnp.h>
#include <device/pnp_def.h>
#include <superio/conf_mode.h>
#include <stdint.h>
#include <pc80/keyboard.h>