diff mbox series

ARM: pxa: Fix resource properties

Message ID 20191203104117.85517-1-linus.walleij@linaro.org (mailing list archive)
State Mainlined
Commit 336bab731be76a90291697e51d2aed0ad67d7cb5
Headers show
Series ARM: pxa: Fix resource properties | expand

Commit Message

Linus Walleij Dec. 3, 2019, 10:41 a.m. UTC
The conversion to properties changed one assignment and
missed three other assignments in the same file, fix it
up so the platform compiles.

The bug was reported by a few build bots but noone noticed.
I noticed it when making other changes to the PXA platforms.

Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Fixes: 50ec88120ea1 ("can: mcp251x: get rid of legacy platform data")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ARM SoC folks: please apply this directly for fixes.
---
 arch/arm/mach-pxa/icontrol.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Andy Shevchenko Dec. 3, 2019, 10:48 a.m. UTC | #1
On Tue, Dec 03, 2019 at 11:41:17AM +0100, Linus Walleij wrote:
> The conversion to properties changed one assignment and
> missed three other assignments in the same file, fix it
> up so the platform compiles.
> 
> The bug was reported by a few build bots but noone noticed.
> I noticed it when making other changes to the PXA platforms.

Ah, indeed, I compiled it on x86.
Thanks!

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

> 
> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Fixes: 50ec88120ea1 ("can: mcp251x: get rid of legacy platform data")
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ARM SoC folks: please apply this directly for fixes.
> ---
>  arch/arm/mach-pxa/icontrol.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-pxa/icontrol.c b/arch/arm/mach-pxa/icontrol.c
> index 0474a4b1394d..151e26ec0696 100644
> --- a/arch/arm/mach-pxa/icontrol.c
> +++ b/arch/arm/mach-pxa/icontrol.c
> @@ -89,7 +89,7 @@ static struct spi_board_info mcp251x_board_info[] = {
>  		.max_speed_hz    = 6500000,
>  		.bus_num         = 3,
>  		.chip_select     = 1,
> -		.platform_data   = &mcp251x_info,
> +		.properties      = mcp251x_properties,
>  		.controller_data = &mcp251x_chip_info2,
>  		.irq             = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ2)
>  	},
> @@ -98,7 +98,7 @@ static struct spi_board_info mcp251x_board_info[] = {
>  		.max_speed_hz    = 6500000,
>  		.bus_num         = 4,
>  		.chip_select     = 0,
> -		.platform_data   = &mcp251x_info,
> +		.properties      = mcp251x_properties,
>  		.controller_data = &mcp251x_chip_info3,
>  		.irq             = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ3)
>  	},
> @@ -107,7 +107,7 @@ static struct spi_board_info mcp251x_board_info[] = {
>  		.max_speed_hz    = 6500000,
>  		.bus_num         = 4,
>  		.chip_select     = 1,
> -		.platform_data   = &mcp251x_info,
> +		.properties      = mcp251x_properties,
>  		.controller_data = &mcp251x_chip_info4,
>  		.irq             = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ4)
>  	}
> -- 
> 2.23.0
>
patchwork-bot+linux-soc@kernel.org Dec. 5, 2019, 6:22 p.m. UTC | #2
Hello:

This patch was applied to soc/soc.git (refs/heads/arm/fixes).

On Tue,  3 Dec 2019 11:41:17 +0100 you wrote:
> The conversion to properties changed one assignment and
> missed three other assignments in the same file, fix it
> up so the platform compiles.
> 
> The bug was reported by a few build bots but noone noticed.
> I noticed it when making other changes to the PXA platforms.
> 
> [...]


Here is a summary with links:
  - ARM: pxa: Fix resource properties
    https://git.kernel.org/soc/soc/c/336bab731be76a90291697e51d2aed0ad67d7cb5

You are awesome, thank you!
diff mbox series

Patch

diff --git a/arch/arm/mach-pxa/icontrol.c b/arch/arm/mach-pxa/icontrol.c
index 0474a4b1394d..151e26ec0696 100644
--- a/arch/arm/mach-pxa/icontrol.c
+++ b/arch/arm/mach-pxa/icontrol.c
@@ -89,7 +89,7 @@  static struct spi_board_info mcp251x_board_info[] = {
 		.max_speed_hz    = 6500000,
 		.bus_num         = 3,
 		.chip_select     = 1,
-		.platform_data   = &mcp251x_info,
+		.properties      = mcp251x_properties,
 		.controller_data = &mcp251x_chip_info2,
 		.irq             = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ2)
 	},
@@ -98,7 +98,7 @@  static struct spi_board_info mcp251x_board_info[] = {
 		.max_speed_hz    = 6500000,
 		.bus_num         = 4,
 		.chip_select     = 0,
-		.platform_data   = &mcp251x_info,
+		.properties      = mcp251x_properties,
 		.controller_data = &mcp251x_chip_info3,
 		.irq             = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ3)
 	},
@@ -107,7 +107,7 @@  static struct spi_board_info mcp251x_board_info[] = {
 		.max_speed_hz    = 6500000,
 		.bus_num         = 4,
 		.chip_select     = 1,
-		.platform_data   = &mcp251x_info,
+		.properties      = mcp251x_properties,
 		.controller_data = &mcp251x_chip_info4,
 		.irq             = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ4)
 	}