imx9: trdc: correct DEBUG usage
authorPeng Fan <peng.fan@nxp.com>
Tue, 3 Dec 2024 15:42:45 +0000 (23:42 +0800)
committerFabio Estevam <festevam@gmail.com>
Sat, 7 Dec 2024 12:07:03 +0000 (09:07 -0300)
commit7b20f70b0b1959950ff9d34cb1fcf785a1cf8672
tree6447d6b87d72b5c30dc291115b7a0f5559d12ba1
parent4af5084a3b8e97067b836179667c6d838084faea
imx9: trdc: correct DEBUG usage

Replace '#if DEBUG' with '#ifdef DEBUG', otherwise '#define DEBUG 1'
should be used and conflict with '#define DEBUG' in include/log.h

Fixes: 5fda95fb944 ("imx: imx9: Add TRDC driver for TRDC init")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx9/trdc.c