> -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Geert Uytterhoeven > Sent: Friday, March 16, 2018 3:52 PM > To: Christoph Hellwig <[email protected]>; Marek Szyprowski > <[email protected]>; Robin Murphy <[email protected]>; > Felipe Balbi <[email protected]>; Greg Kroah-Hartman > <[email protected]>; James E . J . Bottomley > <[email protected]>; Martin K . Petersen > <[email protected]>; Andrew Morton <akpm@linux- > foundation.org>; Mark Brown <[email protected]>; Liam Girdwood > <[email protected]>; Tejun Heo <[email protected]>; Herbert Xu > <[email protected]>; David S . Miller <[email protected]>; > Bartlomiej Zolnierkiewicz <[email protected]>; Stefan Richter > <[email protected]>; Alan Tull <[email protected]>; Moritz Fischer > <[email protected]>; Wolfram Sang <[email protected]>; Jonathan Cameron > <[email protected]>; Joerg Roedel <[email protected]>; Matias Bjorling > <[email protected]>; Jassi Brar <[email protected]>; Mauro Carvalho > Chehab <[email protected]>; Ulf Hansson <[email protected]>; David > Woodhouse <[email protected]>; Brian Norris > <[email protected]>; Marek Vasut <[email protected]>; > Cyrille Pitchen <[email protected]>; Boris Brezillon > <[email protected]>; Richard Weinberger <[email protected]>; > Kalle Valo <[email protected]>; Ohad Ben-Cohen <[email protected]>; > Bjorn Andersson <[email protected]>; Eric Anholt <[email protected]>; > Stefan Wahren <[email protected]> > Cc: [email protected]; [email protected]; linux- > [email protected]; [email protected]; [email protected]; > [email protected]; [email protected]; linux1394- > [email protected]; [email protected]; linux- > [email protected]; [email protected]; [email protected]; > [email protected]; [email protected]; linux- > [email protected]; [email protected]; linux- > [email protected]; [email protected]; linux- > [email protected]; [email protected]; linux- > [email protected]; Geert Uytterhoeven <[email protected]> > Subject: [PATCH v2 10/21] lightnvm: Remove depends on HAS_DMA in case of > platform dependency > > 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. > > Notes: > - FSL_FMAN keeps its dependency on HAS_DMA, as it calls set_dma_ops(), > which does not exist if HAS_DMA=n (Do we need a dummy? The use of > set_dma_ops() in this driver is questionable),
Hi, The set_dma_ops() is no longer required in the fsl/fman, I'll send a patch to remove it. Thanks > - SND_SOC_LPASS_IPQ806X and SND_SOC_LPASS_PLATFORM loose their > dependency on HAS_DMA, as they are selected from > SND_SOC_APQ8016_SBC. > > Signed-off-by: Geert Uytterhoeven <[email protected]> > Reviewed-by: Mark Brown <[email protected]> > Acked-by: Robin Murphy <[email protected]> > --- > v2: > - Add Reviewed-by, Acked-by, > - Drop RFC state, > - Split per subsystem. > --- > drivers/lightnvm/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/lightnvm/Kconfig b/drivers/lightnvm/Kconfig > index 10c08982185a572f..9c03f35d9df113c6 100644 > --- a/drivers/lightnvm/Kconfig > +++ b/drivers/lightnvm/Kconfig > @@ -4,7 +4,7 @@ > > menuconfig NVM > bool "Open-Channel SSD target support" > - depends on BLOCK && HAS_DMA && PCI > + depends on BLOCK && PCI > select BLK_DEV_NVME > help > Say Y here to get to enable Open-channel SSDs. > -- > 2.7.4 _______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
