6c552983d0
Some files functions in 'arch/powerpc/sysdev' 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-6-nick.child@ibm.com
14 lines
361 B
C
14 lines
361 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_POWERPC_I8259_H
|
|
#define _ASM_POWERPC_I8259_H
|
|
#ifdef __KERNEL__
|
|
|
|
#include <linux/irq.h>
|
|
|
|
extern void i8259_init(struct device_node *node, unsigned long intack_addr);
|
|
extern unsigned int i8259_irq(void);
|
|
struct irq_domain *__init i8259_get_host(void);
|
|
|
|
#endif /* __KERNEL__ */
|
|
#endif /* _ASM_POWERPC_I8259_H */
|