• C
    mfd/sm501: depend on HAS_DMA · d0377392
    Christoph Hellwig 提交于
    Currently the sm501 mfd driver can be compiled without any dependencies,
    but through the use of dma_declare_coherent it really depends on
    having DMA and iomem support.  Normally we don't explicitly require DMA
    support as we have stubs for it if on UML, but in this case the driver
    selects support for dma_declare_coherent and thus also requires
    memmap support.  Guard this by an explicit dependency.
    Signed-off-by: NChristoph Hellwig <hch@lst.de>
    Acked-by: NLee Jones <lee.jones@linaro.org>
    d0377392
Kconfig 58.3 KB