Re: [PATCH/RFC 2/4] mmc: renesas_sdhi, tmio: make dma more modular

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +#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


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux