serial: sc16is7xx: add macro for max number of UART ports
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Thu, 21 Dec 2023 23:18:17 +0000 (18:18 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Jan 2024 15:30:04 +0000 (16:30 +0100)
commitacd7f118b3b5466549e351331bedb50a6027d8d1
tree49ea39e217ed0761b6252cf4d433608eec5f2d65
parentd9ffadaf9df1c8f416a8308f8995c2f8de4cbc7f
serial: sc16is7xx: add macro for max number of UART ports

Add macro to hold the maximum number of UART ports per IC/device.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20231221231823.2327894-11-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c