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

2017-09-21 Thread Randy Dunlap
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 ||

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

2017-09-21 Thread Randy Dunlap
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 ||

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

2017-09-21 Thread Mark Brown
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 >

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

2017-09-21 Thread Mark Brown
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 >

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

2017-09-21 Thread Randy Dunlap
From: Randy Dunlap Fix build errors when CONFIG_HWSPINLOCK=m. This patch fixes the build errors when COMPILE_TEST=y, but I expect that this driver also wants HWSPINLOCK_SPRD=y (or =m when SPI_SPRD_ADI=m). drivers/spi/spi-sprd-adi.o: In function `sprd_adi_remove':

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

2017-09-21 Thread Randy Dunlap
From: Randy Dunlap Fix build errors when CONFIG_HWSPINLOCK=m. This patch fixes the build errors when COMPILE_TEST=y, but I expect that this driver also wants HWSPINLOCK_SPRD=y (or =m when SPI_SPRD_ADI=m). drivers/spi/spi-sprd-adi.o: In function `sprd_adi_remove': spi-sprd-adi.c:(.text+0x13):