diff options
author | Dong Aisheng <aisheng.dong@nxp.com> | 2017-06-13 10:55:49 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-29 17:12:33 +0200 |
commit | a0204f25e15cb5b7a14ffcb0d2f45bfc37939206 (patch) | |
tree | 5241a95669173dc78131cbf5af05d937de312976 /lib/earlycpio.c | |
parent | 0d6fce904452636540949d0babd8fd398002af73 (diff) | |
download | talos-obmc-linux-a0204f25e15cb5b7a14ffcb0d2f45bfc37939206.tar.gz talos-obmc-linux-a0204f25e15cb5b7a14ffcb0d2f45bfc37939206.zip |
tty: serial: lpuart: refactor lpuart32_{read|write} prototype
Due to the original lpuart32_read/write takes no port specific
information arguments, it's hard to distinguish port difference
within the API. Although it works before, but not suitable anymore
when adding more new chips support.
So let's convert it to accept a new struct uart_port argument
to make it be able to retrieve more port specific information.
This is a preparation for the later adding new chips support
more easily. No functions changes.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Mingkai Hu <Mingkai.Hu@nxp.com>
Cc: Yangbo Lu <yangbo.lu@nxp.com>
Cc: Fugang Duan <fugang.duan@nxp.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/earlycpio.c')
0 files changed, 0 insertions, 0 deletions