aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2025-05-26 05:35:03 +0000
committerRafael J. Wysocki <[email protected]>2025-05-26 11:07:23 +0000
commit21d8a6857bc11f3fa14b19768d840cf6d1f3fccd (patch)
tree8fd69fab283d2d6852142abc9ed960337c8ba4be /rust/helpers/helpers.c
parentMerge tag 'cpufreq-arm-updates-6.16' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadkernel-21d8a6857bc11f3fa14b19768d840cf6d1f3fccd.tar.gz
kernel-21d8a6857bc11f3fa14b19768d840cf6d1f3fccd.zip
rust: opp: Make the doctest example depend on CONFIG_OF
The doctest example uses a function only available for CONFIG_OF and so the build with doc tests fails when it isn't enabled. error[E0599]: no function or associated item named `from_of_cpumask` found for struct `rust_doctest_kernel_alloc_kbox_rs_4::kernel::opp::Table` in the current scope Fix this by making the doctest depend on CONFIG_OF. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Viresh Kumar <[email protected]> Link: https://patch.msgid.link/a80bfedcb4d94531dc27d3b48062db5042078e88.1748237646.git.viresh.kumar@linaro.org Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions