]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
powerpc/microwatt: Make microwatt_get_random_darn() static
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 18 Nov 2021 00:44:15 +0000 (11:44 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Nov 2021 00:25:34 +0000 (11:25 +1100)
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
arch/powerpc/platforms/microwatt/rng.c

index 3d8ee6eb7dada6eef777f9f32010960c473d41b6..7bc4d1cbfaf04ddb37ac38bff933c0ebfd787e04 100644 (file)
@@ -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;