diff options
author | Serge Semin <[email protected]> | 2023-01-25 15:24:33 -0600 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-02-22 13:46:04 -0600 |
commit | acf994151dd9a59d544b5d3c196b64f326d94c52 (patch) | |
tree | 5ae7f01ad903183044a5e942f9bab9fe2d3de218 /drivers/pci/controller/dwc | |
parent | 16f8a08643b6d63d2e8252ddaa9e17e2408a2531 (diff) |
dmaengine: dw-edma: Depend on DW_EDMA instead of selecting it
Kconfig "select" is discouraged for visible symbols like DW_EDMA because it
makes it possible to set DW_EDMA even if DW_EDMA depends on things that are
not set (see Documentation/kbuild/kconfig-language.txt).
Convert DW_EDMA_PCIE so it depends on DW_EDMA instead of selecting it.
There will likely be several future drivers that depend on DW_EDMA, so this
uses "if DW_EDMA" to enclose them all rather than repeating "depends on
DW_EDMA" for each.
[bhelgaas: split to separate patch, commit log]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Serge Semin <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions