From: Mathieu Malaterre Date: Thu, 22 Mar 2018 20:19:52 +0000 (+0100) Subject: powerpc: Make function btext_initialize static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=86e11b6e9c56e605475462bf9ba7c12dbe1e3e29;p=linux.git powerpc: Make function btext_initialize static This function can be static, make it so, this fix a warning treated as error with W=1: arch/powerpc/kernel/btext.c:173:5: error: no previous prototype for ‘btext_initialize’ [-Werror=missing-prototypes] Signed-off-by: Mathieu Malaterre Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/kernel/btext.c b/arch/powerpc/kernel/btext.c index 54403144623f3..b2072d5bbf2bb 100644 --- a/arch/powerpc/kernel/btext.c +++ b/arch/powerpc/kernel/btext.c @@ -170,7 +170,7 @@ void btext_map(void) boot_text_mapped = 1; } -int btext_initialize(struct device_node *np) +static int btext_initialize(struct device_node *np) { unsigned int width, height, depth, pitch; unsigned long address = 0;