From patchwork Wed Apr 15 10:50:30 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 18340 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3FAqlha007219 for ; Wed, 15 Apr 2009 10:53:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752227AbZDOKxL (ORCPT ); Wed, 15 Apr 2009 06:53:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757855AbZDOKxK (ORCPT ); Wed, 15 Apr 2009 06:53:10 -0400 Received: from rv-out-0506.google.com ([209.85.198.236]:60616 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752227AbZDOKxJ (ORCPT ); Wed, 15 Apr 2009 06:53:09 -0400 Received: by rv-out-0506.google.com with SMTP id f9so3043136rvb.1 for ; Wed, 15 Apr 2009 03:53:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :in-reply-to:references:subject; bh=OG1vQDIRdRQwrTIOiyQTr5zR+Y4+8EX+CIv+9zm0ANI=; b=VGPNzZfwUiH7wIKnVsGnl2bHh8r3WIG9u1018USlg4t8U+I2zVAcUhYjmvMSnfWksL cxXSrjyz8DhlCBSgl5OCM9zt/UdEaHmDphTwm+tTxpfhSNCkMHKs01uXFbPX5R23xfDx cjonfeW2olq3mzpmJlCvaK+IuUTJX3GhZcE4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=nai0p3JdoUbVxHiVsQT9lTGcqTfcedbGtySJWfde4H7hd5Ns96GfhBKbKCooJb1T6e GjhtD9N5dCWoHbUx9FjXxBsAzt5K+rqQPR3a+3Xr7e61M/aWK5cKPJTolpjmGUyQZ5N0 t8Mda7rQiHrhWsdLH9AE1Pj2ZD8cxJno4MFRY= Received: by 10.141.27.16 with SMTP id e16mr290553rvj.219.1239792789373; Wed, 15 Apr 2009 03:53:09 -0700 (PDT) Received: from rx1.opensource.se (210.5.32.202.bf.2iij.net [202.32.5.210]) by mx.google.com with ESMTPS id k41sm11845805rvb.36.2009.04.15.03.53.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 15 Apr 2009 03:53:08 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: johnstul@us.ibm.com, Magnus Damm , lethal@linux-sh.org, gregkh@suse.de, akpm@linux-foundation.org Date: Wed, 15 Apr 2009 19:50:30 +0900 Message-Id: <20090415105030.29940.38797.sendpatchset@rx1.opensource.se> In-Reply-To: <20090415104956.29940.86548.sendpatchset@rx1.opensource.se> References: <20090415104956.29940.86548.sendpatchset@rx1.opensource.se> Subject: [PATCH 04/05] sh: Early Platform Data for SuperH Mobile Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm Use plat_early_device_setup() to register Early Platform Data for SuperH Mobile processors. Signed-off-by: Magnus Damm --- arch/sh/kernel/cpu/sh4a/setup-sh7343.c | 10 ++++++++++ arch/sh/kernel/cpu/sh4a/setup-sh7366.c | 10 ++++++++++ arch/sh/kernel/cpu/sh4a/setup-sh7722.c | 10 ++++++++++ arch/sh/kernel/cpu/sh4a/setup-sh7723.c | 10 ++++++++++ 4 files changed, 40 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/sh/kernel/cpu/sh4a/setup-sh7343.c +++ work/arch/sh/kernel/cpu/sh4a/setup-sh7343.c 2009-04-15 17:10:53.000000000 +0900 @@ -234,6 +234,16 @@ static int __init sh7343_devices_setup(v } __initcall(sh7343_devices_setup); +static struct platform_device *sh7343_early_devices[] __initdata = { + &cmt_device, +}; + +void __init plat_early_device_setup(void) +{ + early_platform_add_devices(sh7343_early_devices, + ARRAY_SIZE(sh7343_early_devices)); +} + enum { UNUSED = 0, --- 0001/arch/sh/kernel/cpu/sh4a/setup-sh7366.c +++ work/arch/sh/kernel/cpu/sh4a/setup-sh7366.c 2009-04-15 17:13:37.000000000 +0900 @@ -226,6 +226,16 @@ static int __init sh7366_devices_setup(v } __initcall(sh7366_devices_setup); +static struct platform_device *sh7366_early_devices[] __initdata = { + &cmt_device, +}; + +void __init plat_early_device_setup(void) +{ + early_platform_add_devices(sh7366_early_devices, + ARRAY_SIZE(sh7366_early_devices)); +} + enum { UNUSED=0, --- 0001/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ work/arch/sh/kernel/cpu/sh4a/setup-sh7722.c 2009-04-15 17:11:25.000000000 +0900 @@ -270,6 +270,16 @@ static int __init sh7722_devices_setup(v } __initcall(sh7722_devices_setup); +static struct platform_device *sh7722_early_devices[] __initdata = { + &cmt_device, +}; + +void __init plat_early_device_setup(void) +{ + early_platform_add_devices(sh7722_early_devices, + ARRAY_SIZE(sh7722_early_devices)); +} + enum { UNUSED=0, --- 0001/arch/sh/kernel/cpu/sh4a/setup-sh7723.c +++ work/arch/sh/kernel/cpu/sh4a/setup-sh7723.c 2009-04-15 17:14:04.000000000 +0900 @@ -281,6 +281,16 @@ static int __init sh7723_devices_setup(v } __initcall(sh7723_devices_setup); +static struct platform_device *sh7723_early_devices[] __initdata = { + &cmt_device, +}; + +void __init plat_early_device_setup(void) +{ + early_platform_add_devices(sh7723_early_devices, + ARRAY_SIZE(sh7723_early_devices)); +} + enum { UNUSED=0,