[coreboot-gerrit] Patch set updated for coreboot: 6f78425 include/device/device.h: Header is ROMCC tentative

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Tue Jun 24 10:45:16 CEST 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6103

-gerrit

commit 6f78425994825c62f228c5661cb48e514af942fd
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Tue Jun 24 17:35:02 2014 +1000

    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 at alterapraxis.com>
---
 src/include/device/device.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/include/device/device.h b/src/include/device/device.h
index dcd93f6..8da3c64 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -1,6 +1,8 @@
 #ifndef DEVICE_H
 #define DEVICE_H
 
+#if !defined(__ROMCC__)
+
 #include <stdint.h>
 #include <stddef.h>
 #include <rules.h>
@@ -243,4 +245,6 @@ ROMSTAGE_CONST struct device * dev_find_slot_on_smbus (unsigned int bus,
 
 #endif
 
+#endif /* !defined(__ROMCC__) */
+
 #endif /* DEVICE_H */



More information about the coreboot-gerrit mailing list