mxser: make mxser_board::idx really an index
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:14:57 +0000 (08:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:10:02 +0000 (13:10 +0200)
commit13d4aba8a9747c5f88e537cc065a511fe64f92eb
tree54b4ea2effb32f6d6280b7f212f7df0ffd47e398
parent42ad25fc46d3f6b6fe5b4b933dd328677e328ec7
mxser: make mxser_board::idx really an index

mxser_board::idx is named as index, but actually contain a base. So
assign index there. And for base, introduce a local variable.

This is needed for the next patch (use index as a bit index).

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-52-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/mxser.c