summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2013-09-05 03:46:12 +0400
committerJiri Slaby <jslaby@suse.cz>2015-08-19 09:36:45 +0300
commit07524cea11744609a9ca5164f539702618e2379e (patch)
tree20fa001a79e41b9808a47af3ccd1ae10bb212156 /drivers/char
parente75c8f5a78096a6ee5e63b076cb885fe0e0ea08f (diff)
downloadlinux-07524cea11744609a9ca5164f539702618e2379e.tar.xz
hwrng: via-rng - Mark device ID table as __maybe_unused
commit a44bc80e66b4014e462cb8be9d354a7bc4723b7e upstream. 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> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/char')
-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 e737772ad69a..de5a6dcfb3e2 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),
{}
};