mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
hwrng: via-rng - Mark device ID table as __maybe_unused
It is only used in modular builds. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
58497204aa
commit
a44bc80e66
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ static void __exit mod_exit(void)
|
||||||
module_init(mod_init);
|
module_init(mod_init);
|
||||||
module_exit(mod_exit);
|
module_exit(mod_exit);
|
||||||
|
|
||||||
static struct x86_cpu_id via_rng_cpu_id[] = {
|
static struct x86_cpu_id __maybe_unused via_rng_cpu_id[] = {
|
||||||
X86_FEATURE_MATCH(X86_FEATURE_XSTORE),
|
X86_FEATURE_MATCH(X86_FEATURE_XSTORE),
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue