summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/pnp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/device/pnp.h b/src/include/device/pnp.h
index bc6391f1f5..ee92a32d08 100644
--- a/src/include/device/pnp.h
+++ b/src/include/device/pnp.h
@@ -18,6 +18,8 @@ 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 */
+
/* PNP device operations */
void pnp_read_resources(struct device *dev);
void pnp_set_resources(struct device *dev);
@@ -108,5 +110,4 @@ static inline void pnp_write_index(u16 port, u8 reg, u8 value)
outb(value, port + 1);
}
-#endif /* ! __SIMPLE_DEVICE__ */
#endif /* DEVICE_PNP_H */