serial: exar: add optional board_init function
authorParker Newman <pnewman@connecttech.com>
Wed, 17 Apr 2024 20:31:25 +0000 (16:31 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Apr 2024 06:23:50 +0000 (08:23 +0200)
commit393b520a99b21d9ec6d4bb32e7c05bbb4f6dc777
treee21c4bcb42ede0e7c9f66dec234949cbb5744468
parent477f6ee694fbd07047fecd37a9992bbe22a36323
serial: exar: add optional board_init function

Add an optional "board_init()" function pointer to struct exar8250_board
which is called once during probe prior to setting up the ports. It will
be used in subsequent patches of this series.

Signed-off-by: Parker Newman <pnewman@connecttech.com>
Link: https://lore.kernel.org/r/0e72a3154114c733283ff273bc1e31456ee101f4.1713382717.git.pnewman@connecttech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_exar.c