Skip to content

Commit c9053e1

Browse files
Chen Lifusuryasaimadhu
authored andcommitted
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 <chenlifu@huawei.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20220823021958.3052493-1-chenlifu@huawei.com
1 parent 3548eda commit c9053e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/x86/kernel/i8259.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ struct legacy_pic null_legacy_pic = {
407407
.make_irq = legacy_pic_uint_noop,
408408
};
409409

410-
struct legacy_pic default_legacy_pic = {
410+
static struct legacy_pic default_legacy_pic = {
411411
.nr_legacy_irqs = NR_IRQS_LEGACY,
412412
.chip = &i8259A_chip,
413413
.mask = mask_8259A_irq,

0 commit comments

Comments
 (0)