Skip to content

Commit 3ccd52b

Browse files
quytranpzznashif
authored andcommitted
drivers: spi: update casting for MSTP register
Update casting for MSTP register in SPI driver Signed-off-by: Quy Tran <[email protected]>
1 parent c24e8a3 commit 3ccd52b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/spi/spi_b_renesas_ra8.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,8 +729,8 @@ static void ra_spi_eri_isr(const struct device *dev)
729729
.clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(index)), \
730730
.clock_subsys = \
731731
{ \
732-
.mstp = (uint32_t *)DT_INST_CLOCKS_CELL_BY_NAME(index, spiclk, \
733-
mstp), \
732+
.mstp = (uint32_t)DT_INST_CLOCKS_CELL_BY_NAME(index, spiclk, \
733+
mstp), \
734734
.stop_bit = DT_INST_CLOCKS_CELL_BY_NAME(index, spiclk, stop_bit), \
735735
}, \
736736
}; \

0 commit comments

Comments
 (0)