Re: [PATCH -next] spi: fix spi-sprd-adi build errors when COMPILE_TEST=y

From: Mark Brown
Date: Thu Sep 21 2017 - 12:49:47 EST


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?

Attachment: signature.asc
Description: PGP signature