]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
MIPS: Make declaration for function `memory_region_available` static
authorMathieu Malaterre <malat@debian.org>
Tue, 2 Jan 2018 18:52:21 +0000 (19:52 +0100)
committerJames Hogan <jhogan@kernel.org>
Mon, 19 Feb 2018 10:55:38 +0000 (10:55 +0000)
commit427aeea072acd7afa6ffe20fc76f887b0f8b232c
tree4ab5dd152111b5af5b9fdaa8c228bc8119245aa9
parent018eab88efc581c977756a8b7b2eb1254cbe1c7c
MIPS: Make declaration for function `memory_region_available` static

Fix non-fatal warning during compilation using W=1:

arch/mips/kernel/setup.c:158:13: warning: no previous prototype for ‘memory_region_available’ [-Wmissing-prototypes]
 bool __init memory_region_available(phys_addr_t start, phys_addr_t size)
             ^~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/18175/
[jhogan@kernel.org: tweak whitespace]
Signed-off-by: James Hogan <jhogan@kernel.org>
arch/mips/kernel/setup.c