Ver código fonte

[ARM] pxa: change set_kset_name() to direct name assignment for MFP sysclass

Signed-off-by: eric miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
eric miao 17 anos atrás
pai
commit
14271a705a
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      arch/arm/mach-pxa/mfp.c

+ 1 - 1
arch/arm/mach-pxa/mfp.c

@@ -227,7 +227,7 @@ static int pxa3xx_mfp_resume(struct sys_device *d)
 }
 
 static struct sysdev_class mfp_sysclass = {
-	set_kset_name("mfp"),
+	.name		= "mfp",
 	.suspend	= pxa3xx_mfp_suspend,
 	.resume 	= pxa3xx_mfp_resume,
 };