]> err.no Git - linux-2.6/commitdiff
[ARM] pxa: change set_kset_name() to direct name assignment for MFP sysclass
authoreric miao <eric.miao@marvell.com>
Tue, 29 Jan 2008 00:57:45 +0000 (08:57 +0800)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Feb 2008 13:17:32 +0000 (13:17 +0000)
Signed-off-by: eric miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/mfp.c

index ec1b2d8f61c475db0cbd7b7690b3a8522247e11b..6ce35041c7edc1a413aa67263706659b744a9ffe 100644 (file)
@@ -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,
 };