diff options
Diffstat (limited to 'arch/x86/kernel/nmi_32.c')
-rw-r--r-- | arch/x86/kernel/nmi_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/nmi_32.c b/arch/x86/kernel/nmi_32.c index 852db2906921..4f4bfd3a88b6 100644 --- a/arch/x86/kernel/nmi_32.c +++ b/arch/x86/kernel/nmi_32.c | |||
@@ -176,7 +176,7 @@ static int lapic_nmi_resume(struct sys_device *dev) | |||
176 | 176 | ||
177 | 177 | ||
178 | static struct sysdev_class nmi_sysclass = { | 178 | static struct sysdev_class nmi_sysclass = { |
179 | set_kset_name("lapic_nmi"), | 179 | .name = "lapic_nmi", |
180 | .resume = lapic_nmi_resume, | 180 | .resume = lapic_nmi_resume, |
181 | .suspend = lapic_nmi_suspend, | 181 | .suspend = lapic_nmi_suspend, |
182 | }; | 182 | }; |