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