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:
Edward O'Callaghan 2014-06-24 17:35:02 +10:00
parent faaa253660
commit 5e19650686
1 changed files with 9 additions and 0 deletions

View File

@ -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 */