From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Ford Date: Sat, 6 Mar 2021 22:03:55 -0600 Subject: [PATCH 2/2] arm: omap3: Make secure_unlock_mem() static In-Reply-To: <20210307040355.28052-1-aford173@gmail.com> References: <20210307040355.28052-1-aford173@gmail.com> Message-ID: <20210307040355.28052-2-aford173@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 diff --git a/arch/arm/mach-omap2/omap3/board.c b/arch/arm/mach-omap2/omap3/board.c index 87dddd9b0f..74b5a4b111 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; -- 2.25.1