summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-02-25 18:22:22 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-13 15:50:34 +1100
commit8b51e679a54e808bdf1f2cc6552cf25577f0a3ea (patch)
treec8bb4090632ca2fc3ce2c9b003e7f8725a0d6101 /arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c
parent67b464a89c21c9edd45ad15c457bb5f25dadecfd (diff)
downloadlinux-8b51e679a54e808bdf1f2cc6552cf25577f0a3ea.tar.bz2
powerpc/embedded6xx: Make functions flipper_pic_init() & ug_udbg_putc() static
Change signature of two functions, adding static keyword to prevent the following two warnings (treated as errors on W=1): arch/powerpc/platforms/embedded6xx/flipper-pic.c:135:28: error: no previous prototype for ‘flipper_pic_init’ arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c:172:6: error: no previous prototype for ‘ug_udbg_putc’ Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c')
-rw-r--r--arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c b/arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c
index 7feb325b636b..5c7e7ce6dbab 100644
--- a/arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c
+++ b/arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c
@@ -169,7 +169,7 @@ static int ug_getc(void)
/*
* Transmits a character.
*/
-void ug_udbg_putc(char ch)
+static void ug_udbg_putc(char ch)
{
ug_putc(ch);
}