diff --git a/src/drivers/intel/dmic/dmic_computed.c b/src/drivers/intel/dmic/dmic_computed.c index 7d4ffef2a..6eb911a9b 100644 --- a/src/drivers/intel/dmic/dmic_computed.c +++ b/src/drivers/intel/dmic/dmic_computed.c @@ -593,7 +593,9 @@ static int configure_registers(struct dai *dai, uint32_t ref; int32_t ci; uint32_t cu; +#if defined(DMIC_IPM_VER1) || defined(DMIC_IPM_VER2) int ipm; +#endif int of0; int of1; int fir_decim;