projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3548eda
)
x86/i8259: Make default_legacy_pic static
author
Chen Lifu
<chenlifu@huawei.com>
Tue, 23 Aug 2022 02:19:58 +0000
(10:19 +0800)
committer
Borislav Petkov
<bp@suse.de>
Mon, 31 Oct 2022 09:20:32 +0000
(10:20 +0100)
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
arch/x86/kernel/i8259.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/i8259.c
b/arch/x86/kernel/i8259.c
index 15aefa3f3e18e5a87c9b1658b950f3b6145da989..3aa5304200c5073d380ddcbe240d49b09129fab2 100644
(file)
--- 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 = {
+st
atic st
ruct legacy_pic default_legacy_pic = {
.nr_legacy_irqs = NR_IRQS_LEGACY,
.chip = &i8259A_chip,
.mask = mask_8259A_irq,