[U-Boot] [PATCH 1/1] omap3: spi: the symbol for Hertz is Hz

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Nov 12 20:02:52 UTC 2017


fix typo

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 drivers/spi/omap3_spi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/spi/omap3_spi.c b/drivers/spi/omap3_spi.c
index ebbdcaf14a..1da4542af0 100644
--- a/drivers/spi/omap3_spi.c
+++ b/drivers/spi/omap3_spi.c
@@ -548,7 +548,8 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
 	}
 
 	if (max_hz > OMAP3_MCSPI_MAX_FREQ) {
-		printf("SPI error: unsupported frequency %i Hz. Max frequency is 48 Mhz\n", max_hz);
+		printf("SPI error: unsupported frequency %i Hz. Max frequency is 48 MHz\n",
+		       max_hz);
 		return NULL;
 	}
 
-- 
2.15.0



More information about the U-Boot mailing list