(adding linux-wireless) Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> writes: > Remove dependencies on HAS_DMA where a Kconfig symbol depends on another > symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST". > In most cases this other symbol is an architecture or platform specific > symbol, or PCI. > > Generic symbols and drivers without platform dependencies keep their > dependencies on HAS_DMA, to prevent compiling subsystems or drivers that > cannot work anyway. > > This simplifies the dependencies, and allows to improve compile-testing. > > Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> > Reviewed-by: Mark Brown <broonie@xxxxxxxxxx> > Acked-by: Robin Murphy <robin.murphy@xxxxxxx> > --- > v3: > - Rebase to v4.17-rc1, > - Drop obsolete note about FSL_FMAN, > > v2: > - Add Reviewed-by, Acked-by, > - Drop RFC state, > - Split per subsystem. > --- > drivers/net/ethernet/amd/Kconfig | 2 +- > drivers/net/ethernet/apm/xgene-v2/Kconfig | 1 - > drivers/net/ethernet/apm/xgene/Kconfig | 1 - > drivers/net/ethernet/arc/Kconfig | 6 ++++-- > drivers/net/ethernet/broadcom/Kconfig | 2 -- > drivers/net/ethernet/calxeda/Kconfig | 2 +- > drivers/net/ethernet/hisilicon/Kconfig | 2 +- > drivers/net/ethernet/marvell/Kconfig | 8 +++----- > drivers/net/ethernet/mellanox/mlxsw/Kconfig | 2 +- > drivers/net/ethernet/renesas/Kconfig | 2 -- > drivers/net/wireless/broadcom/brcm80211/Kconfig | 1 - > drivers/net/wireless/quantenna/qtnfmac/Kconfig | 2 +- > 12 files changed, 12 insertions(+), 19 deletions(-) For wireless: Acked-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Leaving the hunks for linux-wireless list to see: > diff --git a/drivers/net/wireless/broadcom/brcm80211/Kconfig b/drivers/net/wireless/broadcom/brcm80211/Kconfig > index 9d99eb42d9176f0f..6acba67bca07abd7 100644 > --- a/drivers/net/wireless/broadcom/brcm80211/Kconfig > +++ b/drivers/net/wireless/broadcom/brcm80211/Kconfig > @@ -60,7 +60,6 @@ config BRCMFMAC_PCIE > bool "PCIE bus interface support for FullMAC driver" > depends on BRCMFMAC > depends on PCI > - depends on HAS_DMA > select BRCMFMAC_PROTO_MSGBUF > select FW_LOADER > ---help--- > diff --git a/drivers/net/wireless/quantenna/qtnfmac/Kconfig b/drivers/net/wireless/quantenna/qtnfmac/Kconfig > index 025fa6018550895a..8d1492a90bd135c0 100644 > --- a/drivers/net/wireless/quantenna/qtnfmac/Kconfig > +++ b/drivers/net/wireless/quantenna/qtnfmac/Kconfig > @@ -7,7 +7,7 @@ config QTNFMAC > config QTNFMAC_PEARL_PCIE > tristate "Quantenna QSR10g PCIe support" > default n > - depends on HAS_DMA && PCI && CFG80211 > + depends on PCI && CFG80211 > select QTNFMAC > select FW_LOADER > select CRC32 -- Kalle Valo _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel