From: Simon Glass Date: Mon, 20 Apr 2015 18:37:12 +0000 (-0600) Subject: dm: spi: Correct the comment on spi_get_ops() X-Git-Tag: KARO-TXSD-2017-03-15~4622^2~41 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bc5701e1b448e168c84b9e8ed18a0f8217c9e7b2;p=karo-tx-uboot.git dm: spi: Correct the comment on spi_get_ops() This comment should refer to SPI, not serial. Signed-off-by: Simon Glass Reviewed-by: Jagannadha Sutradharudu Teki --- diff --git a/include/spi.h b/include/spi.h index 3f198f8749..f4b93e6a13 100644 --- a/include/spi.h +++ b/include/spi.h @@ -616,7 +616,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 */