Re: [PATCH v6 1/6] rockchip: px30: fix possibly unused grf and cru variables

2023-01-15 Thread Kever Yang
On 2023/1/9 18:36, Quentin Schulz wrote: From: Quentin Schulz The grf and cru are only used when no UART base is provided by the user (defaults to UART2) or for UART1, UART3 and UART5 to be used for the debug UART. Therefore, let's surround those variable definitions with the proper checks.

[PATCH v6 1/6] rockchip: px30: fix possibly unused grf and cru variables

2023-01-09 Thread Quentin Schulz
From: Quentin Schulz The grf and cru are only used when no UART base is provided by the user (defaults to UART2) or for UART1, UART3 and UART5 to be used for the debug UART. Therefore, let's surround those variable definitions with the proper checks. This wasn't an issue before support for UART0