projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef6c592
)
arm64: cpuinfo: Fix build with ARCH_MESON64_ODROID_COMMON but without AMLOGIC_EFUSE
88/293788/1
author
Seung-Woo Kim
<sw0312.kim@samsung.com>
Mon, 5 Jun 2023 05:26:14 +0000
(14:26 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Mon, 5 Jun 2023 05:26:27 +0000
(14:26 +0900)
When with CONFIG_ARCH_MESON64_ODROID_COMMON but without
CONFIG_AMLOGIC_EFUSE, there is build error. Fix build for the
case.
Change-Id: Ic3c8a3beb795639b6e284e9b025e1df3694f5a84
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
arch/arm64/kernel/cpuinfo.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/cpuinfo.c
b/arch/arm64/kernel/cpuinfo.c
index b0dbf73d4b8ef65a4891439fc1e08f7269a1a6a5..6a75c562e5021fc6aed2991d50be017e728ea87a 100644
(file)
--- a/
arch/arm64/kernel/cpuinfo.c
+++ b/
arch/arm64/kernel/cpuinfo.c
@@
-175,6
+175,7
@@
static int c_show(struct seq_file *m, void *v)
seq_printf(m, "%02x", chipid[i]);
seq_puts(m, "\n");
#endif
+#if defined(CONFIG_AMLOGIC_EFUSE)
{
int ret;
char uuid[32];
@@
-194,6
+195,7
@@
static int c_show(struct seq_file *m, void *v)
seq_putc(m, '\n');
}
}
+#endif
#else
#ifdef CONFIG_AMLOGIC_CPU_INFO
cpuinfo_get_chipid(chipid, CHIPID_LEN);