spi/k64: Make the driver configuration structure static.
Change-Id: I67a679106a0e0407c0d5da4593983fb83f732141 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
parent
7c29c68675
commit
4ed5a6e9b2
1 changed files with 3 additions and 3 deletions
|
@ -1091,7 +1091,7 @@ void spi_config_0_irq(void);
|
||||||
|
|
||||||
struct spi_k64_data spi_k64_data_port_0;
|
struct spi_k64_data spi_k64_data_port_0;
|
||||||
|
|
||||||
struct spi_k64_config spi_k64_config_0 = {
|
static struct spi_k64_config spi_k64_config_0 = {
|
||||||
.regs = SPI_K64_0_BASE_ADDR,
|
.regs = SPI_K64_0_BASE_ADDR,
|
||||||
.clk_gate_reg = SPI_K64_0_CLK_GATE_REG_ADDR,
|
.clk_gate_reg = SPI_K64_0_CLK_GATE_REG_ADDR,
|
||||||
.clk_gate_bit = SPI_K64_0_CLK_GATE_REG_BIT,
|
.clk_gate_bit = SPI_K64_0_CLK_GATE_REG_BIT,
|
||||||
|
@ -1120,7 +1120,7 @@ void spi_config_1_irq(void);
|
||||||
|
|
||||||
struct spi_k64_data spi_k64_data_port_1;
|
struct spi_k64_data spi_k64_data_port_1;
|
||||||
|
|
||||||
struct spi_k64_config spi_k64_config_1 = {
|
static struct spi_k64_config spi_k64_config_1 = {
|
||||||
.regs = SPI_K64_1_BASE_ADDR,
|
.regs = SPI_K64_1_BASE_ADDR,
|
||||||
.clk_gate_reg = SPI_K64_1_CLK_GATE_REG_ADDR,
|
.clk_gate_reg = SPI_K64_1_CLK_GATE_REG_ADDR,
|
||||||
.clk_gate_bit = SPI_K64_1_CLK_GATE_REG_BIT,
|
.clk_gate_bit = SPI_K64_1_CLK_GATE_REG_BIT,
|
||||||
|
@ -1149,7 +1149,7 @@ void spi_config_2_irq(void);
|
||||||
|
|
||||||
struct spi_k64_data spi_k64_data_port_2;
|
struct spi_k64_data spi_k64_data_port_2;
|
||||||
|
|
||||||
struct spi_k64_config spi_k64_config_2 = {
|
static struct spi_k64_config spi_k64_config_2 = {
|
||||||
.regs = SPI_K64_2_BASE_ADDR,
|
.regs = SPI_K64_2_BASE_ADDR,
|
||||||
.clk_gate_reg = SPI_K64_2_CLK_GATE_REG_ADDR,
|
.clk_gate_reg = SPI_K64_2_CLK_GATE_REG_ADDR,
|
||||||
.clk_gate_bit = SPI_K64_2_CLK_GATE_REG_BIT,
|
.clk_gate_bit = SPI_K64_2_CLK_GATE_REG_BIT,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue