summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2013-09-05 00:46:12 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2013-09-13 21:43:53 +1000
commita44bc80e66b4014e462cb8be9d354a7bc4723b7e (patch)
tree156547612afedbd5c8988fbcb9f0c1fca942de35 /drivers/char/hw_random
parent58497204aaca75c53394ff2dee6603315b8a2ea4 (diff)
downloadop-kernel-dev-a44bc80e66b4014e462cb8be9d354a7bc4723b7e.zip
op-kernel-dev-a44bc80e66b4014e462cb8be9d354a7bc4723b7e.tar.gz
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>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r--drivers/char/hw_random/via-rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/via-rng.c b/drivers/char/hw_random/via-rng.c
index e737772..de5a6dc 100644
--- a/drivers/char/hw_random/via-rng.c
+++ b/drivers/char/hw_random/via-rng.c
@@ -221,7 +221,7 @@ static void __exit mod_exit(void)
module_init(mod_init);
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),
{}
};
OpenPOWER on IntegriCloud