summaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm63xx/dev-rng.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2024-01-23 09:46:54 -0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-01-26 10:33:20 +0100
commitdd3c33ccbb8f0dc6a256dc55e7607569aea69721 (patch)
tree77c4b5a6ceff0e218c651368ba053be1cc6ca83c /arch/mips/bcm63xx/dev-rng.c
parentf64fdde9bc771d7d790e8bcc30a7e03bbe0b1a9f (diff)
downloadlinux-dd3c33ccbb8f0dc6a256dc55e7607569aea69721.tar.gz
linux-dd3c33ccbb8f0dc6a256dc55e7607569aea69721.tar.bz2
linux-dd3c33ccbb8f0dc6a256dc55e7607569aea69721.zip
MIPS: BCM63XX: Fix missing prototypes
Most of the symbols for which we do not have a prototype can actually be made static and for the few that cannot, there is already a declaration in a header for it. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/bcm63xx/dev-rng.c')
-rw-r--r--arch/mips/bcm63xx/dev-rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/bcm63xx/dev-rng.c b/arch/mips/bcm63xx/dev-rng.c
index d277b4dc6c68..f94151f7c96f 100644
--- a/arch/mips/bcm63xx/dev-rng.c
+++ b/arch/mips/bcm63xx/dev-rng.c
@@ -26,7 +26,7 @@ static struct platform_device bcm63xx_rng_device = {
.resource = rng_resources,
};
-int __init bcm63xx_rng_register(void)
+static int __init bcm63xx_rng_register(void)
{
if (!BCMCPU_IS_6368())
return -ENODEV;