memory: rockchip: dsmc: Fix conditional compilation for multiple platforms

Change-Id: Ie6e574c3a95aa7c467b3706c3dfb02ed2306efe3
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
This commit is contained in:
Zhihuan He
2025-02-13 14:47:57 +08:00
committed by Tao Huang
parent 6b0986d083
commit 49b1e1b320

View File

@@ -113,7 +113,8 @@ static const struct of_device_id dsmc_of_match[] = {
{
.compatible = "rockchip,rk3576-dsmc", .data = rk3576_dsmc_platform_init
},
#elif IS_ENABLED(CONFIG_CPU_RK3506)
#endif
#if IS_ENABLED(CONFIG_CPU_RK3506)
{
.compatible = "rockchip,rk3506-dsmc", .data = rk3506_dsmc_platform_init
},