diff options
author | Mathieu Malaterre <malat@debian.org> | 2018-04-23 21:45:32 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-05-25 12:04:39 +1000 |
commit | eed6964bce59294f293b1746a6e4a69fa709fa5b (patch) | |
tree | 5cfdddea82f06af85dafbe4a84c7e2b59bab8f4e /arch/powerpc/platforms/embedded6xx | |
parent | 85aa4b98419d74dd5cc914e089349800ac4997ee (diff) | |
download | linux-eed6964bce59294f293b1746a6e4a69fa709fa5b.tar.gz linux-eed6964bce59294f293b1746a6e4a69fa709fa5b.tar.bz2 linux-eed6964bce59294f293b1746a6e4a69fa709fa5b.zip |
powerpc/wii: Make hlwd_pic_init function static
The function hlwd_pic_init can be made static, so do it. Fix the following
warning treated as error (W=1):
../arch/powerpc/platforms/embedded6xx/hlwd-pic.c:158:20: error: no previous prototype for ‘hlwd_pic_init’ [-Werror=missing-prototypes]
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/embedded6xx')
-rw-r--r-- | arch/powerpc/platforms/embedded6xx/hlwd-pic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/embedded6xx/hlwd-pic.c b/arch/powerpc/platforms/embedded6xx/hlwd-pic.c index bf4a125faec6..8112b39879d6 100644 --- a/arch/powerpc/platforms/embedded6xx/hlwd-pic.c +++ b/arch/powerpc/platforms/embedded6xx/hlwd-pic.c @@ -160,7 +160,7 @@ static void __hlwd_quiesce(void __iomem *io_base) out_be32(io_base + HW_BROADWAY_ICR, 0xffffffff); } -struct irq_domain *hlwd_pic_init(struct device_node *np) +static struct irq_domain *hlwd_pic_init(struct device_node *np) { struct irq_domain *irq_domain; struct resource res; |