serial: ns16550: Increase scope of ops functions
authorGokul Praveen <g-praveen@ti.com>
Tue, 26 Nov 2024 10:51:30 +0000 (16:21 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 14 Dec 2024 15:32:59 +0000 (09:32 -0600)
commita9c61ac04fdef8de7842456ff597db375f8b48d8
tree0cb1b3616c72d38271aa9898e07af9946d5f96a2
parent3881c6b90350b0b04085ad46ef64989b43967eef
serial: ns16550: Increase scope of ops functions

Increase scope of ops functions and do some clean up for usage in device
-specific UART drivers.

Remove the static functionality of ops functions and migrate certain macros
to header file for usage in device-specific drivers.

Signed-off-by: Gokul Praveen <g-praveen@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/ns16550.c
include/ns16550.h