diff options
author | Chen Lifu <[email protected]> | 2022-08-23 10:19:58 +0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2022-10-31 10:20:32 +0100 |
commit | c9053e1c5a6fca221946f95d1fe6e47f69fb303a (patch) | |
tree | 5b60f97d587c3fbfe9c05b086ca605017a7672c9 | |
parent | 3548eda8ae284d6d412d59f11cd20fc7df05362b (diff) |
x86/i8259: Make default_legacy_pic static
The symbol is not used outside of the file, so mark it static.
Signed-off-by: Chen Lifu <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-rw-r--r-- | arch/x86/kernel/i8259.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/i8259.c b/arch/x86/kernel/i8259.c index 15aefa3f3e18..3aa5304200c5 100644 --- a/arch/x86/kernel/i8259.c +++ b/arch/x86/kernel/i8259.c @@ -407,7 +407,7 @@ struct legacy_pic null_legacy_pic = { .make_irq = legacy_pic_uint_noop, }; -struct legacy_pic default_legacy_pic = { +static struct legacy_pic default_legacy_pic = { .nr_legacy_irqs = NR_IRQS_LEGACY, .chip = &i8259A_chip, .mask = mask_8259A_irq, |