summaryrefslogtreecommitdiff
path: root/include/spi.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-04-20 12:37:12 -0600
committerSimon Glass <sjg@chromium.org>2015-05-05 20:58:19 -0600
commitbc5701e1b448e168c84b9e8ed18a0f8217c9e7b2 (patch)
tree3f491686ef11c1edf1734e7a231a7dee8901af8a /include/spi.h
parent527265d8f25196b3d0cc042846f901858723f26c (diff)
dm: spi: Correct the comment on spi_get_ops()
This comment should refer to SPI, not serial. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'include/spi.h')
-rw-r--r--include/spi.h2
1 files changed, 1 insertions, 1 deletions
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 */