From e3682b6c1c14c8ad2253a3e5d19fb7dfe417c018 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 3 Dec 2018 09:32:31 +0100 Subject: src: Move {pci,pnp}_devfn_t to common 'device/pci_type.h' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Definitions of these types are arch-agnostic. Shared device subsystem files cannot include arch/pci_ops.h for ARM and arch/io.h for x86. Change-Id: I6a3deea676308e2dc703b5e06558b05235191044 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/29947 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/arch/x86/include/arch/io.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/arch/x86') diff --git a/src/arch/x86/include/arch/io.h b/src/arch/x86/include/arch/io.h index f47973e2fb..9e2a877906 100644 --- a/src/arch/x86/include/arch/io.h +++ b/src/arch/x86/include/arch/io.h @@ -17,9 +17,7 @@ #include #include #include - -typedef u32 pci_devfn_t; -typedef u32 pnp_devfn_t; +#include /* * This file contains the definitions for the x86 IO instructions -- cgit v1.2.3