]> Git Repo - J-u-boot.git/commitdiff
dm: spi: Correct the comment on spi_get_ops()
authorSimon Glass <[email protected]>
Mon, 20 Apr 2015 18:37:12 +0000 (12:37 -0600)
committerSimon Glass <[email protected]>
Wed, 6 May 2015 02:58:19 +0000 (20:58 -0600)
This comment should refer to SPI, not serial.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
include/spi.h

index 3f198f8749771bc899fcbae2ae6e60bcd026d542..f4b93e6a1398294d1364c17cbdf21b0047f6c25d 100644 (file)
@@ -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 */
This page took 0.035149 seconds and 4 git commands to generate.