mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
c0dc225ae7
Some functions defined in 'arch/powerpc/platforms/embedded6xx' are deserving of an `__init` macro attribute. These functions are only called by other initialization functions and therefore should inherit the attribute. Also, change function declarations in header files to include `__init`. Signed-off-by: Nick Child <nick.child@ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20211216220035.605465-17-nick.child@ibm.com
18 lines
410 B
C
18 lines
410 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* arch/powerpc/platforms/embedded6xx/hlwd-pic.h
|
|
*
|
|
* Nintendo Wii "Hollywood" interrupt controller support.
|
|
* Copyright (C) 2009 The GameCube Linux Team
|
|
* Copyright (C) 2009 Albert Herranz
|
|
*/
|
|
|
|
#ifndef __HLWD_PIC_H
|
|
#define __HLWD_PIC_H
|
|
|
|
extern unsigned int hlwd_pic_get_irq(void);
|
|
void __init hlwd_pic_probe(void);
|
|
extern void hlwd_quiesce(void);
|
|
|
|
#endif
|