summaryrefslogtreecommitdiff
path: root/src/include/device/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/device.h')
-rw-r--r--src/include/device/device.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index dcd93f687f..ced2786948 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -1,6 +1,13 @@
#ifndef DEVICE_H
#define DEVICE_H
+/*
+ * NOTICE: Header is ROMCC tentative.
+ * This header is incompatible with ROMCC and its inclusion leads to 'odd'
+ * build failures.
+ */
+#if !defined(__ROMCC__)
+
#include <stdint.h>
#include <stddef.h>
#include <rules.h>
@@ -243,4 +250,6 @@ ROMSTAGE_CONST struct device * dev_find_slot_on_smbus (unsigned int bus,
#endif
+#endif /* !defined(__ROMCC__) */
+
#endif /* DEVICE_H */