summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2021-11-18 03:44:15 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2021-11-25 03:25:34 +0300
commit4afc78eae10cd74c5a0b70822b9754d1d094c5d6 (patch)
treef01941a135accc50e68a70833aa750068eda8515 /arch/powerpc/platforms
parent1f01bf90765fa5f88fbae452c131c1edf5cda7ba (diff)
downloadlinux-4afc78eae10cd74c5a0b70822b9754d1d094c5d6.tar.xz
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 'arch/powerpc/platforms')
-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;