Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ben Hutchings and committed by
Herbert Xu
a44bc80e 58497204

+1 -1
+1 -1
drivers/char/hw_random/via-rng.c
··· 221 221 module_init(mod_init); 222 222 module_exit(mod_exit); 223 223 224 - static struct x86_cpu_id via_rng_cpu_id[] = { 224 + static struct x86_cpu_id __maybe_unused via_rng_cpu_id[] = { 225 225 X86_FEATURE_MATCH(X86_FEATURE_XSTORE), 226 226 {} 227 227 };