mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user