]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ppc/syslib/open_pic2.c
Driver core: change sysdev classes to use dynamic kobject names
[linux-2.6-omap-h63xx.git] / arch / ppc / syslib / open_pic2.c
index d585207f9f77855e0c8f126dfc52014fbc4328af..449075a0479803f9c17d52fc240f8dbeffcf4478 100644 (file)
@@ -666,7 +666,7 @@ int openpic2_resume(struct sys_device *sysdev)
 
 /* HACK ALERT */
 static struct sysdev_class openpic2_sysclass = {
-       set_kset_name("openpic2"),
+       .name = "openpic2",
 };
 
 static struct sys_device device_openpic2 = {