aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2021-11-18 11:44:15 +1100
committerMichael Ellerman <[email protected]>2021-11-25 11:25:34 +1100
commit4afc78eae10cd74c5a0b70822b9754d1d094c5d6 (patch)
treef01941a135accc50e68a70833aa750068eda8515
parent1f01bf90765fa5f88fbae452c131c1edf5cda7ba (diff)
powerpc/microwatt: Make microwatt_get_random_darn() static
Make microwatt_get_random_darn() static, because it can be. Reported-by: kernel test robot <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--arch/powerpc/platforms/microwatt/rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/microwatt/rng.c b/arch/powerpc/platforms/microwatt/rng.c
index 3d8ee6eb7dad..7bc4d1cbfaf0 100644
--- a/arch/powerpc/platforms/microwatt/rng.c
+++ b/arch/powerpc/platforms/microwatt/rng.c
@@ -14,7 +14,7 @@
#define DARN_ERR 0xFFFFFFFFFFFFFFFFul
-int microwatt_get_random_darn(unsigned long *v)
+static int microwatt_get_random_darn(unsigned long *v)
{
unsigned long val;