diff options
Diffstat (limited to 'arch/x86/kernel/nmi_64.c')
-rw-r--r-- | arch/x86/kernel/nmi_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/nmi_64.c b/arch/x86/kernel/nmi_64.c index 4253c4e8849c..c3d1476b6a11 100644 --- a/arch/x86/kernel/nmi_64.c +++ b/arch/x86/kernel/nmi_64.c | |||
@@ -211,7 +211,7 @@ static int lapic_nmi_resume(struct sys_device *dev) | |||
211 | } | 211 | } |
212 | 212 | ||
213 | static struct sysdev_class nmi_sysclass = { | 213 | static struct sysdev_class nmi_sysclass = { |
214 | set_kset_name("lapic_nmi"), | 214 | .name = "lapic_nmi", |
215 | .resume = lapic_nmi_resume, | 215 | .resume = lapic_nmi_resume, |
216 | .suspend = lapic_nmi_suspend, | 216 | .suspend = lapic_nmi_suspend, |
217 | }; | 217 | }; |