Skip to content

Commit

Permalink
hwrng: via-rng - Mark device ID table as __maybe_unused
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Hutchings authored and Herbert Xu committed Sep 13, 2013
1 parent 5849720 commit a44bc80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/hw_random/via-rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
{}
};
Expand Down

0 comments on commit a44bc80

Please sign in to comment.