]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/oprofile/common.c
Driver core: change sysdev classes to use dynamic kobject names
[linux-2.6-omap-h63xx.git] / arch / arm / oprofile / common.c
index a9de727c9327aa29eb266e45860a681e72f1d55c..0a5cf3a6438be268f792ae0cb1ec9d7c6a66692c 100644 (file)
@@ -96,7 +96,7 @@ static int op_arm_resume(struct sys_device *dev)
 }
 
 static struct sysdev_class oprofile_sysclass = {
-       set_kset_name("oprofile"),
+       .name           = "oprofile",
        .resume         = op_arm_resume,
        .suspend        = op_arm_suspend,
 };