aboutsummaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-davinci.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-06-07 14:08:54 +0200
committerLuis Chamberlain <[email protected]>2023-06-29 15:19:43 -0700
commit554588e8e932e7a0fac7d3ae2132f2b727d9acfe (patch)
tree10e708808b9647b9a49dac4e3ee6569f32980f23 /drivers/clocksource/timer-davinci.c
parentc6b0271053e7a5ae57511363213777f706b60489 (diff)
sysctl: fix unused proc_cap_handler() function warning
Since usermodehelper_table() is marked static now, we get a warning about it being unused when SYSCTL is disabled: kernel/umh.c:497:12: error: 'proc_cap_handler' defined but not used [-Werror=unused-function] Just move it inside of the same #ifdef. Signed-off-by: Arnd Bergmann <[email protected]> Tested-by: Matthieu Baerts <[email protected]> Fixes: 861dc0b46432 ("sysctl: move umh sysctl registration to its own file") Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> # build-tested [mcgrof: adjust new commit ID for Fixes tag] Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-davinci.c')
0 files changed, 0 insertions, 0 deletions