From: eric miao Date: Tue, 29 Jan 2008 00:57:45 +0000 (+0800) Subject: [ARM] pxa: change set_kset_name() to direct name assignment for MFP sysclass X-Git-Tag: v2.6.25-rc1~1055^2^5~8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14271a705ae0fdfcb997ebed0b6e2ec6ffa58561;p=linux-2.6 [ARM] pxa: change set_kset_name() to direct name assignment for MFP sysclass Signed-off-by: eric miao Signed-off-by: Russell King --- diff --git a/arch/arm/mach-pxa/mfp.c b/arch/arm/mach-pxa/mfp.c index ec1b2d8f61..6ce35041c7 100644 --- a/arch/arm/mach-pxa/mfp.c +++ b/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, };