Driver core: change sysdev classes to use dynamic kobject names
[deliverable/linux.git] / arch / powerpc / platforms / powermac / pic.c
index 999f5e160897ba23ba07d7b6ae766d028fa26a7e..84c0d4ef76a2d1c3c88b744a56d0ce2c14cb5c9e 100644 (file)
@@ -663,7 +663,7 @@ static int pmacpic_resume(struct sys_device *sysdev)
 #endif /* CONFIG_PM && CONFIG_PPC32 */
 
 static struct sysdev_class pmacpic_sysclass = {
-       set_kset_name("pmac_pic"),
+       .name = "pmac_pic",
 };
 
 static struct sys_device device_pmacpic = {
This page took 0.028932 seconds and 5 git commands to generate.