summaryrefslogtreecommitdiffstats
path: root/src/include/device/device.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-24 17:35:02 +1000
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-27 04:22:26 +0200
commit5e196506860889c9ef19c048e20cd68e55edb885 (patch)
treef97ecaf6dd554aceff1c5108c7c660aea73f7431 /src/include/device/device.h
parentfaaa25366030e8a02c21e0eb0c96d839ad535232 (diff)
downloadcoreboot-5e196506860889c9ef19c048e20cd68e55edb885.tar.gz
coreboot-5e196506860889c9ef19c048e20cd68e55edb885.tar.bz2
coreboot-5e196506860889c9ef19c048e20cd68e55edb885.zip
include/device/device.h: Header is ROMCC tentative
This header is incompatible with ROMCC and its inclusion leads to 'odd' build failures. Change-Id: If31d774385796dcafe2fd48151e424b4c872aec3 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6103 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <gaumless@gmail.com>
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 dcd93f687fc4..ced278694899 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 */