powerpc/85xx: Make some pic_init functions static
These functions can all be static, make them so, which also fixes no previous prototype warnings. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240229114216.744502-1-mpe@ellerman.id.au
This commit is contained in:
parent
f2d5bccaca
commit
3f9f3557ac
@ -19,7 +19,7 @@
|
||||
#include "mpc85xx.h"
|
||||
#include "smp.h"
|
||||
|
||||
void __init bsc913x_qds_pic_init(void)
|
||||
static void __init bsc913x_qds_pic_init(void)
|
||||
{
|
||||
struct mpic *mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN |
|
||||
MPIC_SINGLE_DEST_CPU,
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
#include "mpc85xx.h"
|
||||
|
||||
void __init bsc913x_rdb_pic_init(void)
|
||||
static void __init bsc913x_rdb_pic_init(void)
|
||||
{
|
||||
struct mpic *mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN |
|
||||
MPIC_SINGLE_DEST_CPU,
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
void __iomem *imp3a_regs;
|
||||
|
||||
void __init ge_imp3a_pic_init(void)
|
||||
static void __init ge_imp3a_pic_init(void)
|
||||
{
|
||||
struct mpic *mpic;
|
||||
struct device_node *np;
|
||||
|
Loading…
Reference in New Issue
Block a user