diff options
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | 2018-11-02 21:08:16 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-11-16 16:52:00 -0500 |
commit | 0a16868757f40a4b5578c0cf65d3bfc8d3fd7dc0 (patch) | |
tree | 8337d0b1764fff8f66e37c267e2d8cd069c4e36a /include/serial.h | |
parent | 6418000311c54839e9d1f573951791a30a8a1a6b (diff) |
dm: serial: fix comment on dm_serial_ops setconfig
The comment on this function prototype describes nonexistent
parameters. It seems to be copied from 'setparity'.
Update it to match its the parameter list.
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/serial.h')
-rw-r--r-- | include/serial.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/serial.h b/include/serial.h index 020cd392e8..ec25db6e60 100644 --- a/include/serial.h +++ b/include/serial.h @@ -195,9 +195,7 @@ struct dm_serial_ops { * Set up a new config for this device. * * @dev: Device pointer - * @parity: parity to use - * @bits: bits number to use - * @stop: stop bits number to use + * @serial_config: number of bits, parity and number of stopbits to use * @return 0 if OK, -ve on error */ int (*setconfig)(struct udevice *dev, uint serial_config); |