mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
ARM: pxa: Fix resource properties
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.
Link: https://lore.kernel.org/r/20191203104117.85517-1-linus.walleij@linaro.org
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Fixes: 50ec88120e
("can: mcp251x: get rid of legacy platform data")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
parent
3c25ce694a
commit
336bab731b
1 changed files with 3 additions and 3 deletions
|
@ -88,7 +88,7 @@ static struct spi_board_info mcp251x_board_info[] = {
|
||||||
.max_speed_hz = 6500000,
|
.max_speed_hz = 6500000,
|
||||||
.bus_num = 3,
|
.bus_num = 3,
|
||||||
.chip_select = 1,
|
.chip_select = 1,
|
||||||
.platform_data = &mcp251x_info,
|
.properties = mcp251x_properties,
|
||||||
.controller_data = &mcp251x_chip_info2,
|
.controller_data = &mcp251x_chip_info2,
|
||||||
.irq = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ2)
|
.irq = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ2)
|
||||||
},
|
},
|
||||||
|
@ -97,7 +97,7 @@ static struct spi_board_info mcp251x_board_info[] = {
|
||||||
.max_speed_hz = 6500000,
|
.max_speed_hz = 6500000,
|
||||||
.bus_num = 4,
|
.bus_num = 4,
|
||||||
.chip_select = 0,
|
.chip_select = 0,
|
||||||
.platform_data = &mcp251x_info,
|
.properties = mcp251x_properties,
|
||||||
.controller_data = &mcp251x_chip_info3,
|
.controller_data = &mcp251x_chip_info3,
|
||||||
.irq = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ3)
|
.irq = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ3)
|
||||||
},
|
},
|
||||||
|
@ -106,7 +106,7 @@ static struct spi_board_info mcp251x_board_info[] = {
|
||||||
.max_speed_hz = 6500000,
|
.max_speed_hz = 6500000,
|
||||||
.bus_num = 4,
|
.bus_num = 4,
|
||||||
.chip_select = 1,
|
.chip_select = 1,
|
||||||
.platform_data = &mcp251x_info,
|
.properties = mcp251x_properties,
|
||||||
.controller_data = &mcp251x_chip_info4,
|
.controller_data = &mcp251x_chip_info4,
|
||||||
.irq = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ4)
|
.irq = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ4)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue