]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250: moxa: Store num_ports in brd
authorMatwey V. Kornilov <matwey@sai.msu.ru>
Thu, 29 Dec 2016 18:48:51 +0000 (21:48 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:51:25 +0000 (11:51 +0100)
commitb6861db3013028833794e6085537d8654165d712
treed918f2859bad5d4b06748d798c312cfa110f0da7
parent52a6353bd063b690955e4f1bcad44ad7714e7121
serial: 8250: moxa: Store num_ports in brd

When struct moxa8250_board is allocated, then num_ports should
be initialized in order to use it later in moxa8250_remove.

Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_moxa.c