Skip to content

Commit 510a6dc

Browse files
jimpariscarlescufi
authored andcommitted
drivers: flash: spi_nor.c: fix typo
This was referencing the wrong DT property, leading to build errors. Signed-off-by: Jim Paris <[email protected]>
1 parent 9a0d113 commit 510a6dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/flash/spi_nor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ static int spi_nor_configure(struct device *dev)
355355
return -ENODEV;
356356
}
357357

358-
data->cs_ctrl.gpio_pin = DT_JEDEC_SPI_NOR_0_HOLD_GPIOS_PIN;
358+
data->cs_ctrl.gpio_pin = DT_JEDEC_SPI_NOR_0_CS_GPIO_PIN;
359359
data->cs_ctrl.delay = CONFIG_SPI_NOR_CS_WAIT_DELAY;
360360

361361
data->spi_cfg.cs = &data->cs_ctrl;

0 commit comments

Comments
 (0)