diff options
author | Arnd Bergmann <arnd@arndb.de> | 2022-09-28 17:09:42 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-01-09 17:00:54 +0100 |
commit | 6aeb51c1035c1c9dd666897892d5cb168933ce7b (patch) | |
tree | 489c615f7435fd547c5d978d0b9ba61d9988b62e /arch/arm/mach-omap2/sdrc.c | |
parent | d2200da9e6dec280b0ed02e76d5e9e71573eea1e (diff) | |
download | linux-stable-6aeb51c1035c1c9dd666897892d5cb168933ce7b.tar.gz linux-stable-6aeb51c1035c1c9dd666897892d5cb168933ce7b.tar.bz2 linux-stable-6aeb51c1035c1c9dd666897892d5cb168933ce7b.zip |
ARM: omap2: make functions static
A number of functions are only called from the file they
are defined in, so remove the extern declarations and
make them local to those files.
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-omap2/sdrc.c')
-rw-r--r-- | arch/arm/mach-omap2/sdrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/sdrc.c b/arch/arm/mach-omap2/sdrc.c index 9900fc777f39..b1bf9e24d442 100644 --- a/arch/arm/mach-omap2/sdrc.c +++ b/arch/arm/mach-omap2/sdrc.c @@ -45,7 +45,7 @@ static struct omap2_sms_regs sms_context; * * Save SMS registers that need to be restored after off mode. */ -void omap2_sms_save_context(void) +static void omap2_sms_save_context(void) { sms_context.sms_sysconfig = sms_read_reg(SMS_SYSCONFIG); } |