summaryrefslogtreecommitdiff
path: root/include/linux/zstd_errors.h
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2023-01-09 11:36:40 +0100
committerKever Yang <[email protected]>2023-01-16 18:01:11 +0800
commite53856aaf430b1a854a4ca3d68173db3c6e8043b (patch)
tree737ed59a37b229e6cb40c8acdccda3682f848681 /include/linux/zstd_errors.h
parent5a42fd025859371e20bf7a5f064172d02c566707 (diff)
rockchip: px30: fix possibly unused grf and cru variables
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 was added, because all cases were using cru and grf. UART0 only uses pmucru so there's a need to not define those variables anymore. Fixes: d0af506625ff ("rockchip: px30: support debug uart on UART0") Cc: Quentin Schulz <[email protected]> Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions