[U-Boot] [PATCH 01/20] dm: spi: Correct the comment on spi_get_ops()

Simon Glass sjg at chromium.org
Mon Apr 20 20:37:12 CEST 2015


This comment should refer to SPI, not serial.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/spi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/spi.h b/include/spi.h
index c58e453..aa0598b 100644
--- a/include/spi.h
+++ b/include/spi.h
@@ -612,7 +612,7 @@ int sandbox_spi_get_emul(struct sandbox_state *state,
 			 struct udevice *bus, struct udevice *slave,
 			 struct udevice **emulp);
 
-/* Access the serial operations for a device */
+/* Access the operations for a SPI device */
 #define spi_get_ops(dev)	((struct dm_spi_ops *)(dev)->driver->ops)
 #define spi_emul_get_ops(dev)	((struct dm_spi_emul_ops *)(dev)->driver->ops)
 #endif /* CONFIG_DM_SPI */
-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list