arm: omap3: Make secureworld_exit() static
secureworld_exit() is only used in one file, so make it static to that file and remove it from sys_proto.h. This 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-3-aford173@gmail.com
This commit is contained in:
@@ -59,7 +59,6 @@ u32 is_running_in_sdram(void);
|
||||
u32 is_running_in_sram(void);
|
||||
u32 is_running_in_flash(void);
|
||||
u32 get_device_type(void);
|
||||
void secureworld_exit(void);
|
||||
u32 get_boot_type(void);
|
||||
void invalidate_dcache(u32);
|
||||
u32 wait_on_value(u32, u32, void *, u32);
|
||||
|
||||
@@ -114,7 +114,7 @@ void secure_unlock_mem(void)
|
||||
* configure secure registers and exit secure world
|
||||
* general use.
|
||||
*****************************************************************************/
|
||||
void secureworld_exit(void)
|
||||
static void secureworld_exit(void)
|
||||
{
|
||||
unsigned long i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user