]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/rtmutex-tester.c
Driver core: change sysdev classes to use dynamic kobject names
[linux-2.6-omap-h63xx.git] / kernel / rtmutex-tester.c
index e3055ba6915978c4290492ef16cacb3f3a844c61..092e4c620af908410a30ef3ee9ece43df72dcb84 100644 (file)
@@ -394,7 +394,7 @@ static SYSDEV_ATTR(status, 0600, sysfs_test_status, NULL);
 static SYSDEV_ATTR(command, 0600, NULL, sysfs_test_command);
 
 static struct sysdev_class rttest_sysclass = {
-       set_kset_name("rttest"),
+       .name = "rttest",
 };
 
 static int init_test_thread(int id)