diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2024-03-04 22:10:44 +0300 |
---|---|---|
committer | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2024-05-02 13:01:31 +0300 |
commit | fdb2dd78ba48415a940ddc9603f8e47dafc9b1a0 (patch) | |
tree | 997492e1414aa6a98b327e2725256f8c6a05fcf7 /arch/arm | |
parent | fcd9a89248089bdfd2796731100ae5ad5f03f7b3 (diff) | |
download | linux-fdb2dd78ba48415a940ddc9603f8e47dafc9b1a0.tar.xz |
sh: traps: Make is_dsp_inst() static
If CONFIG_SH_DSP=y (e.g. se7343_defconfig):
arch/sh/kernel/traps_32.c:572:5: warning: no previous prototype for ‘is_dsp_inst’ [-Wmissing-prototypes]
There are no users outside this file, so make it static.
While at it, convert the dummy for the CONFIG_SH_DSP=n case from a macro
to a static inline function, to increase type-safety.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/8525fe446e7f24649a83b8cd6ca8b736ab746b80.1709579038.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions