aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2023-10-06 13:29:45 +0200
committerMark Brown <[email protected]>2023-10-06 12:34:31 +0100
commit881fe6ed21e8c7e60095aabc274c4f2bfdc87c5e (patch)
tree20b524ad9ad76f00f6a193bb3cb3d601693fe77f /tools/perf/util/trace-event-scripting.c
parent86401132d7bbb550d80df0959ad9fa356ebc168d (diff)
spi: mpc52xx-psc: Make mpc52xx_psc_spi_transfer_one_message() static
With W=1: drivers/spi/spi-mpc52xx-psc.c:178:5: warning: no previous prototype for ‘mpc52xx_psc_spi_transfer_one_message’ [-Wmissing-prototypes] 178 | int mpc52xx_psc_spi_transfer_one_message(struct spi_controller *ctlr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpc52xx_psc_spi_transfer_one_message() is only used inside the file that defines it. Hence fix this by making it static. Fixes: 145cfc3840e5931a ("spi: mpc52xx-psc: Switch to using core message queue") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions