diff options
author | Nick Child <[email protected]> | 2021-12-16 17:00:19 -0500 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-12-23 22:33:11 +1100 |
commit | c49f5d88ff0166ffa4e48ee8ce84d63719f346be (patch) | |
tree | c813f743dde45f2c55049c017cfbca906900fbf3 /arch/powerpc/sysdev/tsi108_pci.c | |
parent | c13f2b2bb5afd90f152c389c1c9245a0d43bce80 (diff) |
powerpc/perf: Add __init attribute to eligible functions
Some functions defined in 'arch/powerpc/perf' 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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/sysdev/tsi108_pci.c')
0 files changed, 0 insertions, 0 deletions