summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/microwatt/rng.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2021-11-18 01:44:15 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2021-11-25 01:25:34 +0100
commit4afc78eae10cd74c5a0b70822b9754d1d094c5d6 (patch)
treef01941a135accc50e68a70833aa750068eda8515 /arch/powerpc/platforms/microwatt/rng.c
parentpowerpc/watchdog: read TB close to where it is used (diff)
downloadlinux-4afc78eae10cd74c5a0b70822b9754d1d094c5d6.tar.xz
linux-4afc78eae10cd74c5a0b70822b9754d1d094c5d6.zip
powerpc/microwatt: Make microwatt_get_random_darn() static
Make microwatt_get_random_darn() static, because it can be. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20211118004415.1706863-1-mpe@ellerman.id.au
Diffstat (limited to '')
-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;