diff options
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r-- | src/arch/x86/include/arch/io.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/arch/x86/include/arch/io.h b/src/arch/x86/include/arch/io.h index 98cb15a247..f0c0c80260 100644 --- a/src/arch/x86/include/arch/io.h +++ b/src/arch/x86/include/arch/io.h @@ -202,12 +202,10 @@ static __always_inline void write64(volatile void *addr, } #endif -typedef u32 pnp_devfn_t; +#include <device/pnp_type.h> #ifdef __SIMPLE_DEVICE__ -#define PNP_DEV(PORT, FUNC) (((PORT) << 8) | (FUNC)) - /* Generic functions for pnp devices */ static __always_inline void pnp_write_config( pnp_devfn_t dev, uint8_t reg, uint8_t value) |