aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-03-11 17:22:57 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-03-11 17:22:57 -0700
commitd8941ce52b708cfd520994e65760a2fa6a646dfb (patch)
tree12a5904db21de1f5de14deeb249cf18c23ef8b0b
parentbff4b74625fea851f9dd61e747a162d2f6b3317e (diff)
parenta6a789165bbdb506b784f53b7467dbe0210494ad (diff)
downloadlinux-can-next-d8941ce52b708cfd520994e65760a2fa6a646dfb.tar.gz
Merge tag 'ras_core_for_v6.9_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull RAS fixlet from Borislav Petkov: - Constify yet another static struct bus_type instance now that the driver core can handle that * tag 'ras_core_for_v6.9_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/mce: Make mce_subsys const
-rw-r--r--arch/x86/kernel/cpu/mce/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mce/core.c b/arch/x86/kernel/cpu/mce/core.c
index 04acdc3534c81a..b5cc557cfc3736 100644
--- a/arch/x86/kernel/cpu/mce/core.c
+++ b/arch/x86/kernel/cpu/mce/core.c
@@ -2457,7 +2457,7 @@ static void mce_enable_ce(void *all)
__mcheck_cpu_init_timer();
}
-static struct bus_type mce_subsys = {
+static const struct bus_type mce_subsys = {
.name = "machinecheck",
.dev_name = "machinecheck",
};