diff options
author | Daniel Axtens <dja@axtens.net> | 2016-01-06 01:45:50 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-04-12 13:05:18 +0200 |
commit | 635218c785bef355bc8266a1fdb28f38cdca365d (patch) | |
tree | 2cb06a4ccb6cde3f6ba79de2e0ee3c731746d807 /arch/powerpc/kernel/mce.c | |
parent | cxl: Configure the PSL for two CAPI ports on POWER8NVL (diff) | |
download | linux-635218c785bef355bc8266a1fdb28f38cdca365d.tar.xz linux-635218c785bef355bc8266a1fdb28f38cdca365d.zip |
powerpc: sparse: static-ify some things
As sparse suggests, these should be made static.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/mce.c')
-rw-r--r-- | arch/powerpc/kernel/mce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/mce.c b/arch/powerpc/kernel/mce.c index b2eb4686bd8f..35138225af6e 100644 --- a/arch/powerpc/kernel/mce.c +++ b/arch/powerpc/kernel/mce.c @@ -37,7 +37,7 @@ static DEFINE_PER_CPU(int, mce_queue_count); static DEFINE_PER_CPU(struct machine_check_event[MAX_MC_EVT], mce_event_queue); static void machine_check_process_queued_event(struct irq_work *work); -struct irq_work mce_event_process_work = { +static struct irq_work mce_event_process_work = { .func = machine_check_process_queued_event, }; |