diff mbox series

[V2,3/3] arm: omap3: Make secure_unlock_mem() static

Message ID 20210318124054.2475426-4-aford173@gmail.com
State Changes Requested
Delegated to: Lokesh Vutla
Headers show
Series arm: omap3: Make functions static when possible | expand

Commit Message

Adam Ford March 18, 2021, 12:40 p.m. UTC
secure_unlock_mem() is only used in one file, so make it static
in that file. This
may help with some further optimization in the future.

Signed-off-by: Adam Ford <aford173@gmail.com>
---
 arch/arm/mach-omap2/omap3/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/mach-omap2/omap3/board.c b/arch/arm/mach-omap2/omap3/board.c
index 41d0d3ef69..a6c3141dbd 100644
--- a/arch/arm/mach-omap2/omap3/board.c
+++ b/arch/arm/mach-omap2/omap3/board.c
@@ -76,7 +76,7 @@  const struct gpio_bank *const omap_gpio_bank = gpio_bank_34xx;
  * Description: Setup security registers for access
  *              (GP Device only)
  *****************************************************************************/
-void secure_unlock_mem(void)
+static void secure_unlock_mem(void)
 {
 	struct pm *pm_rt_ape_base = (struct pm *)PM_RT_APE_BASE_ADDR_ARM;
 	struct pm *pm_gpmc_base = (struct pm *)PM_GPMC_BASE_ADDR_ARM;