spi/dw: Make config structure static.
Change-Id: I15236d62b330ffe2363fa438179fe1f79c168592 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
parent
5606f7f424
commit
be6872f5ca
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ void spi_config_1_irq(void);
|
|||
|
||||
struct spi_dw_data spi_dw_data_port_1;
|
||||
|
||||
struct spi_dw_config spi_dw_config_1 = {
|
||||
static struct spi_dw_config spi_dw_config_1 = {
|
||||
.regs = SPI_DW_PORT_1_REGS,
|
||||
#ifdef CONFIG_SPI_DW_CLOCK_GATE
|
||||
.clock_data = UINT_TO_POINTER(CONFIG_SPI_1_CLOCK_GATE_SUBSYS),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue