summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powernv/rng.c
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2020-08-04 10:54:07 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2020-08-25 01:31:33 +1000
commit3b70464aa78917e88c1d4bfc2100c344c0eda8e0 (patch)
tree56c683bcde7e763ce6fc798195a7dee3020d7a24 /arch/powerpc/platforms/powernv/rng.c
parent8471c1dd93de9a2278d41c527b76291e4ace8f1c (diff)
powerpc/powernv: Staticify functions without prototypes
There's a few scattered in the powernv platform. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200804005410.146094-4-oohall@gmail.com
Diffstat (limited to 'arch/powerpc/platforms/powernv/rng.c')
-rw-r--r--arch/powerpc/platforms/powernv/rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/rng.c b/arch/powerpc/platforms/powernv/rng.c
index 8035caf6e297..72c25295c1c2 100644
--- a/arch/powerpc/platforms/powernv/rng.c
+++ b/arch/powerpc/platforms/powernv/rng.c
@@ -65,7 +65,7 @@ int powernv_get_random_real_mode(unsigned long *v)
return 1;
}
-int powernv_get_random_darn(unsigned long *v)
+static int powernv_get_random_darn(unsigned long *v)
{
unsigned long val;