arm: omap3: Make try_unlock_memory() static
authorAdam Ford <aford173@gmail.com>
Fri, 25 Jun 2021 19:23:06 +0000 (14:23 -0500)
committerLokesh Vutla <lokeshvutla@ti.com>
Thu, 15 Jul 2021 12:26:04 +0000 (17:56 +0530)
commit1ddd0ed34a9a8392852551a8e54fd10776ccd637
tree0105f5dc7c90b95ac9c9bbcae11b2b6236b4498c
parent81b98c6627340ffebe3bc9ab6292b538645a2ea8
arm: omap3: Make try_unlock_memory() static

try_unlock_memory() is only used in one file, so make it static
in that file,remove it from the sys_proto header file, and relocate
it into the #ifdef section that call it. This will make it only built
under the conditions when it is called, and it may help with some
further optimization in the future.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210625192308.277136-2-aford173@gmail.com
arch/arm/include/asm/arch-omap3/sys_proto.h
arch/arm/mach-omap2/omap3/board.c