> +#if IS_ENABLED(CONFIG_MMC_SDHI_DMA)
> +int tmio_mmc_init_dma(void);
> +#else
> +static int tmio_mmc_init_dma(void)
> +{
> +       return -EINVAL;
> +}
> +#endif

Can't we make this another tmio_mmc_dma_ops to save the ifdeffery?

Attachment: signature.asc
Description: PGP signature

Reply via email to