diff mbox

stm32/spi: catch missing SPI rename

Message ID 1412776399-22449-1-git-send-email-trevor.woerner@linaro.org
State New
Headers show

Commit Message

Trevor Woerner Oct. 8, 2014, 1:53 p.m. UTC
One last SPIx_I2S_BASE to SPIx_BASE rename to fixup.

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
---
 lib/stm32/common/spi_common_all.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/lib/stm32/common/spi_common_all.c b/lib/stm32/common/spi_common_all.c
index bb75d19..c488d04 100644
--- a/lib/stm32/common/spi_common_all.c
+++ b/lib/stm32/common/spi_common_all.c
@@ -92,7 +92,7 @@  void spi_reset(uint32_t spi_peripheral)
 		break;
 #endif
 #if defined(SPI3_BASE)
-	case SPI3_I2S_BASE:
+	case SPI3_BASE:
 		rcc_periph_reset_pulse(RST_SPI3);
 		break;
 #endif