diff options
Diffstat (limited to 'src/include/device/pnp.h')
-rw-r--r-- | src/include/device/pnp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/device/pnp.h b/src/include/device/pnp.h index ee92a32d08..69a0667445 100644 --- a/src/include/device/pnp.h +++ b/src/include/device/pnp.h @@ -4,9 +4,10 @@ #include <stdint.h> #include <device/device.h> #include <device/pnp_def.h> +#include <device/pnp_type.h> #include <arch/io.h> -#ifndef __SIMPLE_DEVICE__ +#if !ENV_PNP_SIMPLE_DEVICE /* Primitive PNP resource manipulation */ void pnp_write_config(struct device *dev, u8 reg, u8 value); @@ -18,7 +19,7 @@ void pnp_set_iobase(struct device *dev, u8 index, u16 iobase); void pnp_set_irq(struct device *dev, u8 index, u8 irq); void pnp_set_drq(struct device *dev, u8 index, u8 drq); -#endif /* __SIMPLE_DEVICE */ +#endif /* PNP device operations */ void pnp_read_resources(struct device *dev); |