]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/oprofile/nmi_int.c
Driver core: change sysdev classes to use dynamic kobject names
[linux-2.6-omap-h63xx.git] / arch / x86 / oprofile / nmi_int.c
index 944bbcdd2b8d47035c4202c3331c44d19fdae787..c8ab79ef42761f1df1cfffc2b53a205e5a5282ce 100644 (file)
@@ -51,7 +51,7 @@ static int nmi_resume(struct sys_device *dev)
 
 
 static struct sysdev_class oprofile_sysclass = {
-       set_kset_name("oprofile"),
+       .name           = "oprofile",
        .resume         = nmi_resume,
        .suspend        = nmi_suspend,
 };