soc: rockchip: cpuinfo: use IS_REACHABLE instead of IS_ENABLED

Fixes: 7bb3c2ecbd ("soc: rockchip: cpuinfo: Support building as module")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I7841dffd35b49571578dbfd8787741a2cd504bc5
This commit is contained in:
Tao Huang
2022-04-12 20:03:17 +08:00
parent b1e19569a7
commit 8bfe782d85

View File

@@ -26,7 +26,7 @@
#define ROCKCHIP_CPU_RK3566 0x35660000
#define ROCKCHIP_CPU_RK3568 0x35680000
#if IS_ENABLED(CONFIG_ROCKCHIP_CPUINFO)
#if IS_REACHABLE(CONFIG_ROCKCHIP_CPUINFO)
extern unsigned long rockchip_soc_id;