diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2022-07-29 12:35:31 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-08-19 13:39:35 +0300 |
commit | 882aa6525cabcfa0cea61e1a19c9af4c543118ac (patch) | |
tree | 325e364fb8e0151f4a34f50a74894010c06a7622 /drivers/char | |
parent | 36cb6494429bd64b27b7ff8b4af56f8e526da2b4 (diff) | |
download | linux-882aa6525cabcfa0cea61e1a19c9af4c543118ac.tar.xz |
crypto: qcom-rng - Fix qcom_rng_of_match unused warning
Module device tables need to be declared as maybe_unused because
they will be unused when built-in and the corresponding option is
also disabled.
This patch adds the maybe_unused attributes to OF and ACPI. This
also allows us to remove the ifdef around the ACPI data structure.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions