Messages in this thread | | | Subject | Re: [PATCH -next] spi: fix spi-sprd-adi build errors when COMPILE_TEST=y | From | Randy Dunlap <> | Date | Thu, 21 Sep 2017 11:00:22 -0700 |
| |
On 09/21/17 09:49, Mark Brown wrote: > On Thu, Sep 21, 2017 at 09:10:04AM -0700, Randy Dunlap wrote: > >> +++ linux-next-20170921/drivers/spi/Kconfig >> @@ -625,6 +625,7 @@ config SPI_SIRF >> config SPI_SPRD_ADI >> tristate "Spreadtrum ADI controller" >> depends on ARCH_SPRD || COMPILE_TEST >> + depends on HWSPINLOCK >> help >> ADI driver based on SPI for Spreadtrum SoCs. > > Why is this a more sensible fix than providing stubs for HWSPINLOCK? >
There are already stubs there. I'll send an updated patch.
-- ~Randy
| |