diff options
Diffstat (limited to 'aic/kbl_aic.h')
-rw-r--r-- | aic/kbl_aic.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/aic/kbl_aic.h b/aic/kbl_aic.h new file mode 100644 index 0000000..acefd5f --- /dev/null +++ b/aic/kbl_aic.h @@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: Apache-2.0 */ +/* + * Wrapper to be able to include KBL_AIC implementation without reducing our + * compiler warnings and error levels on our own code. + */ + +#ifndef IPA_IPU3_AIC_KBL_AIC_H +#define IPA_IPU3_AIC_KBL_AIC_H + +/* + * Bring in AIC headers with compiler warnings disabled on those includes. + */ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wignored-qualifiers" +#pragma GCC diagnostic ignored "-Wnon-virtual-dtor" +#pragma GCC diagnostic ignored "-Wextra-semi" + +#include <ia_imaging/KBL_AIC.h> + +#pragma GCC diagnostic pop + +#endif /* IPA_IPU3_AIC_H */ |