Commit 16d5cee5 authored by Arvind Yadav's avatar Arvind Yadav Committed by Herbert Xu

crypto: padlock-sha - constify x86_cpu_id

x86_cpu_id are not supposed to change at runtime. MODULE_DEVICE_TABLE
and x86_match_cpu are working with const x86_cpu_id. So mark the
non-const x86_cpu_id structs as const.
Signed-off-by: default avatarArvind Yadav <>
Signed-off-by: default avatarHerbert Xu <>
parent d9893645
......@@ -509,7 +509,7 @@ static struct shash_alg sha256_alg_nano = {
static struct x86_cpu_id padlock_sha_ids[] = {
static const struct x86_cpu_id padlock_sha_ids[] = {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment