[v2] spi: cadence: Add dependency on ARCH_ARM
diff mbox

Message ID 1397556735-2536-1-git-send-email-harinik@xilinx.com
State New, archived
Headers show

Commit Message

Harini Katakam April 15, 2014, 10:12 a.m. UTC
Add dependency on ARCH_ARM in Kconfig.
This is to fix the build error related to _relaxed IO.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
---

v2 changes:
Dependency on ARCH_ARM instead of restricting to ARCH_ZYNQ.

---
 drivers/spi/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Comments

Paul Bolle April 15, 2014, 10:22 a.m. UTC | #1
On Tue, 2014-04-15 at 15:42 +0530, Harini Katakam wrote:
> Add dependency on ARCH_ARM in Kconfig.
> This is to fix the build error related to _relaxed IO.
> 
> Signed-off-by: Harini Katakam <harinik@xilinx.com>
> ---
> 
> v2 changes:
> Dependency on ARCH_ARM instead of restricting to ARCH_ZYNQ.
> 
> ---
>  drivers/spi/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index b0f091b..32c27dd 100644
> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -150,6 +150,7 @@ config SPI_BUTTERFLY
>  
>  config SPI_CADENCE
>  	tristate "Cadence SPI controller"
> +	depends on ARCH_ARM

Did you mean just ARM?

>  	depends on SPI_MASTER
>  	help
>  	  This selects the Cadence SPI controller master driver


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Harini Katakam April 15, 2014, 10:40 a.m. UTC | #2
Hi,

On Tue, Apr 15, 2014 at 3:52 PM, Paul Bolle <pebolle@tiscali.nl> wrote:
> On Tue, 2014-04-15 at 15:42 +0530, Harini Katakam wrote:
>> Add dependency on ARCH_ARM in Kconfig.
>> This is to fix the build error related to _relaxed IO.
>>
>> Signed-off-by: Harini Katakam <harinik@xilinx.com>
>> ---
>>
>> v2 changes:
>> Dependency on ARCH_ARM instead of restricting to ARCH_ZYNQ.
>>
>> ---
>>  drivers/spi/Kconfig |    1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
>> index b0f091b..32c27dd 100644
>> --- a/drivers/spi/Kconfig
>> +++ b/drivers/spi/Kconfig
>> @@ -150,6 +150,7 @@ config SPI_BUTTERFLY
>>
>>  config SPI_CADENCE
>>       tristate "Cadence SPI controller"
>> +     depends on ARCH_ARM
>
> Did you mean just ARM?

Please ignore patch, I will resend it.

Regards,
Harini
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index b0f091b..32c27dd 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -150,6 +150,7 @@  config SPI_BUTTERFLY
 
 config SPI_CADENCE
 	tristate "Cadence SPI controller"
+	depends on ARCH_ARM
 	depends on SPI_MASTER
 	help
 	  This selects the Cadence SPI controller master driver