linux-stable/arch/powerpc/platforms/85xx/socrates_fpga_pic.h
Nick Child 407454cafd powerpc/85xx: Add __init attribute to eligible functions
Some functions defined in 'arch/powerpc/platforms/85xx' 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-19-nick.child@ibm.com
2021-12-23 22:33:18 +11:00

11 lines
229 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2008 Ilya Yanok, Emcraft Systems
*/
#ifndef SOCRATES_FPGA_PIC_H
#define SOCRATES_FPGA_PIC_H
void __init socrates_fpga_pic_init(struct device_node *pic);
#endif