summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/id.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-09-28 18:09:42 +0300
committerArnd Bergmann <arnd@arndb.de>2023-01-09 19:00:54 +0300
commit6aeb51c1035c1c9dd666897892d5cb168933ce7b (patch)
tree489c615f7435fd547c5d978d0b9ba61d9988b62e /arch/arm/mach-omap2/id.c
parentd2200da9e6dec280b0ed02e76d5e9e71573eea1e (diff)
downloadlinux-6aeb51c1035c1c9dd666897892d5cb168933ce7b.tar.xz
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/id.c')
-rw-r--r--arch/arm/mach-omap2/id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 59755b5a1ad7..98999aa8cc0c 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -117,7 +117,7 @@ static struct omap_id omap_ids[] __initdata = {
static void __iomem *tap_base;
static u16 tap_prod_id;
-void omap_get_die_id(struct omap_die_id *odi)
+static void omap_get_die_id(struct omap_die_id *odi)
{
if (soc_is_omap44xx() || soc_is_omap54xx() || soc_is_dra7xx()) {
odi->id_0 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_0);