diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-12-05 03:42:19 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-10 07:14:12 +0400 |
commit | 0690f41fddd285c3473e4af2a42d15bce7ff3e68 (patch) | |
tree | 2df38f436c0d05bce5183f53468aa523b1ece913 /Makefile | |
parent | 850624c15da4651f4c6b821723419d8777659577 (diff) | |
download | linux-0690f41fddd285c3473e4af2a42d15bce7ff3e68.tar.xz |
serial: clean up parameter passing for 8250 Rx IRQ handling
The receive_chars() was taking a pointer to a passed in LSR value
in status and knocking off bits as it processed them. But since
receive_chars isn't returning a value, we can instead pass in
a normal non-pointer value for LSR, and simply return the
residual (unprocessed) LSR once it is done.
The value in this cleanup, is that it clarifies the API of the
receive_chars prior to exporting it to other 8250-like drivers
for shared usage.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions