spi/intel: Make driver config_info structure const.
Change-Id: Ic4f44cf375a27fbd50175673ab3f0f064faadf15 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
parent
84e805c78c
commit
5e2b549cb4
@ -478,7 +478,7 @@ struct spi_intel_data spi_intel_data_port_0 = {
|
||||
#endif
|
||||
};
|
||||
|
||||
struct spi_intel_config spi_intel_config_0 = {
|
||||
const struct spi_intel_config spi_intel_config_0 = {
|
||||
.irq = SPI_INTEL_PORT_0_IRQ,
|
||||
#ifdef CONFIG_SPI_CS_GPIO
|
||||
.cs_gpio_name = CONFIG_SPI_0_CS_GPIO_PORT,
|
||||
@ -516,7 +516,7 @@ struct spi_intel_data spi_intel_data_port_1 = {
|
||||
#endif
|
||||
};
|
||||
|
||||
struct spi_intel_config spi_intel_config_1 = {
|
||||
const struct spi_intel_config spi_intel_config_1 = {
|
||||
.irq = SPI_INTEL_PORT_1_IRQ,
|
||||
#ifdef CONFIG_SPI_CS_GPIO
|
||||
.cs_gpio_name = CONFIG_SPI_1_CS_GPIO_PORT,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user