projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5849720
)
hwrng: via-rng - Mark device ID table as __maybe_unused
author
Ben Hutchings
<ben@decadent.org.uk>
Wed, 4 Sep 2013 23:46:12 +0000
(
00:46
+0100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 13 Sep 2013 11:43:53 +0000
(21:43 +1000)
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>
drivers/char/hw_random/via-rng.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/hw_random/via-rng.c
b/drivers/char/hw_random/via-rng.c
index e737772ad69a8103312e596cd0e24ce00d759e22..de5a6dcfb3e242ec4aa5b6742c73c7700e32d551 100644
(file)
--- 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),
{}
};