aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorRob Herring (Arm) <[email protected]>2024-08-09 11:24:38 -0600
committerViresh Kumar <[email protected]>2024-09-04 20:43:59 +0530
commit24f9bfb847b7340b91e35742adf0ab87440e7079 (patch)
tree5e81e363e9f11b720061c8f1bf1d5434b5e76588 /rust/helpers.c
parent49243adc715e6ae34d6cc003827e63bcf5b3a21d (diff)
cpufreq: Fix warning on unused of_device_id tables for !CONFIG_OF
!CONFIG_OF builds cause warnings on unused of_device_id tables. This is due to of_match_node() being a macro rather than static inline function. Add a __maybe_unused annotation to the of_device_id tables. Fixes: c7582ec85342 ("cpufreq: Drop CONFIG_ARM and CONFIG_ARM64 dependency on Arm drivers") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions