Преглед изворни кода

[ARM] 5005/1: BAST: Fix kset_name initialiser

Fix the pm sys device .name initialiser which was
missed when updating the last patch submission.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Ben Dooks пре 17 година
родитељ
комит
140749e2bf
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      arch/arm/mach-s3c2410/mach-bast.c

+ 1 - 1
arch/arm/mach-s3c2410/mach-bast.c

@@ -259,7 +259,7 @@ static int bast_pm_resume(struct sys_device *sd)
 #endif
 #endif
 
 
 static struct sysdev_class bast_pm_sysclass = {
 static struct sysdev_class bast_pm_sysclass = {
-	set_kset_name("mach-bast"),
+	.name		= "mach-bast",
 	.suspend	= bast_pm_suspend,
 	.suspend	= bast_pm_suspend,
 	.resume		= bast_pm_resume,
 	.resume		= bast_pm_resume,
 };
 };