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>
This commit is contained in:
@@ -1,6 +1,13 @@
|
|||||||
#ifndef DEVICE_H
|
#ifndef DEVICE_H
|
||||||
#define 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 <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <rules.h>
|
#include <rules.h>
|
||||||
@@ -243,4 +250,6 @@ ROMSTAGE_CONST struct device * dev_find_slot_on_smbus (unsigned int bus,
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif /* !defined(__ROMCC__) */
|
||||||
|
|
||||||
#endif /* DEVICE_H */
|
#endif /* DEVICE_H */
|
||||||
|
Reference in New Issue
Block a user