>
> +static inline void iommu_dma_put_resv_regions(struct device *dev, struct list_head *list)
> +{
> +}
> +
> #endif /* CONFIG_IOMMU_DMA */
This changes behavior when CONFIG_IOMMU_DMA is not set. So e.g. on
ARM all the drivers that are using the new helper now fail to release
reserved regions.