2014-04-15 10:12:28

by Harini Katakam

[permalink] [raw]
Subject: [PATCH v2] spi: cadence: Add dependency on ARCH_ARM

Add dependency on ARCH_ARM in Kconfig.
This is to fix the build error related to _relaxed IO.

Signed-off-by: Harini Katakam <[email protected]>
---

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
depends on SPI_MASTER
help
This selects the Cadence SPI controller master driver
--
1.7.9.5


2014-04-15 10:22:15

by Paul Bolle

[permalink] [raw]
Subject: Re: [PATCH v2] spi: cadence: Add dependency on ARCH_ARM

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 <[email protected]>
> ---
>
> 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

2014-04-15 10:40:58

by Harini Katakam

[permalink] [raw]
Subject: Re: [PATCH v2] spi: cadence: Add dependency on ARCH_ARM

Hi,

On Tue, Apr 15, 2014 at 3:52 PM, Paul Bolle <[email protected]> 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 <[email protected]>
>> ---
>>
>> 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