浏览代码

[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
 
 static struct sysdev_class bast_pm_sysclass = {
-	set_kset_name("mach-bast"),
+	.name		= "mach-bast",
 	.suspend	= bast_pm_suspend,
 	.resume		= bast_pm_resume,
 };