summaryrefslogtreecommitdiffstats
path: root/Documentation/userspace-api
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2023-11-30 23:58:23 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-12-11 02:21:35 +0100
commitd068b1237e3204ec5d4f7ddcdde54aeef2a9c30b (patch)
tree91aa978e366bbc343c04d2a0681da743f8cc790e /Documentation/userspace-api
parenthexagon: time: mark time_init_deferred() as static (diff)
downloadlinux-d068b1237e3204ec5d4f7ddcdde54aeef2a9c30b.tar.xz
linux-d068b1237e3204ec5d4f7ddcdde54aeef2a9c30b.zip
hexagon: time: include asm/delay.h for prototypes
Clang warns about missing prototypes that are declared in this header: arch/hexagon/kernel/time.c:209:6: warning: no previous prototype for function '__delay' [-Wmissing-prototypes] 209 | void __delay(unsigned long cycles) | ^ arch/hexagon/kernel/time.c:209:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 209 | void __delay(unsigned long cycles) | ^ | static arch/hexagon/kernel/time.c:224:6: warning: no previous prototype for function '__udelay' [-Wmissing-prototypes] 224 | void __udelay(unsigned long usecs) | ^ arch/hexagon/kernel/time.c:224:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 224 | void __udelay(unsigned long usecs) | ^ | static Link: https://lkml.kernel.org/r/20231130-hexagon-missing-prototypes-v1-10-5c34714afe9e@kernel.org Signed-off-by: Nathan Chancellor <nathan@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Brian Cain <bcain@quicinc.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/userspace-api')
0 files changed, 0 insertions, 0 deletions