From 5e196506860889c9ef19c048e20cd68e55edb885 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Tue, 24 Jun 2014 17:35:02 +1000 Subject: 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 Reviewed-on: http://review.coreboot.org/6103 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/include/device/device.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/include/device') 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 #include #include @@ -243,4 +250,6 @@ ROMSTAGE_CONST struct device * dev_find_slot_on_smbus (unsigned int bus, #endif +#endif /* !defined(__ROMCC__) */ + #endif /* DEVICE_H */ -- cgit v1.2.3