aboutsummaryrefslogtreecommitdiff
path: root/src/include/device/pci_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/pci_ops.h')
-rw-r--r--src/include/device/pci_ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/pci_ops.h b/src/include/device/pci_ops.h
index 20fbb9921f..ae58a0172a 100644
--- a/src/include/device/pci_ops.h
+++ b/src/include/device/pci_ops.h
@@ -1,11 +1,11 @@
#ifndef PCI_OPS_H
#define PCI_OPS_H
-#ifndef __SMM__
#include <stdint.h>
#include <device/device.h>
#include <arch/pci_ops.h>
+#ifndef __SIMPLE_DEVICE__
u8 pci_read_config8(device_t dev, unsigned int where);
u16 pci_read_config16(device_t dev, unsigned int where);
u32 pci_read_config32(device_t dev, unsigned int where);