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/prm_common.c | |
parent | d2200da9e6dec280b0ed02e76d5e9e71573eea1e (diff) |
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/prm_common.c')
-rw-r--r-- | arch/arm/mach-omap2/prm_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c index 9a27f566612f..fd896f2295a1 100644 --- a/arch/arm/mach-omap2/prm_common.c +++ b/arch/arm/mach-omap2/prm_common.c @@ -187,7 +187,7 @@ int omap_prcm_event_to_irq(const char *name) * * No return value. */ -void omap_prcm_irq_cleanup(void) +static void omap_prcm_irq_cleanup(void) { unsigned int irq; int i; @@ -689,7 +689,7 @@ static const struct of_device_id omap_prcm_dt_match_table[] __initconst = { * on the DT data. Returns 0 in success, negative error value * otherwise. */ -int __init omap2_prm_base_init(void) +static int __init omap2_prm_base_init(void) { struct device_node *np; const struct of_device_id *match; |