From patchwork Fri Jul 31 07:47:17 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 38468 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 n6V7x1Wk019671 for ; Fri, 31 Jul 2009 07:59:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751340AbZGaH7A (ORCPT ); Fri, 31 Jul 2009 03:59:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751389AbZGaH67 (ORCPT ); Fri, 31 Jul 2009 03:58:59 -0400 Received: from mail-px0-f179.google.com ([209.85.216.179]:63737 "EHLO mail-px0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751340AbZGaH67 (ORCPT ); Fri, 31 Jul 2009 03:58:59 -0400 Received: by pxi9 with SMTP id 9so66179pxi.33 for ; Fri, 31 Jul 2009 00:59:00 -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=TmMYGJtCAdv1QzvDZ5v9M1vnApUJRwBcvoa4kCaS5U0=; b=GSJwX9qSn8W4fE3B9NOWjVY6knifNiq0qD4zChMI+8AhSZ7Z9vrX+GvEf0+xBDX2Fo JXpz7ZIqXSk+I7i5L5lOHfxcWoXnllN1kcLqJ/cwwcJaiTNKMi12Sy5F5YfI0ZPG6TRn zpYZWI3vY6xY38rcSybt/rbNMEIwoiVa7PS8U= 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=SY2jRzwhAQZxeURYdsvghauMhq7sQ2+eUHLNIqoUpflj7e/WbscjiYUBJ8pemGLot+ dIpeXSVXqH0FVJ+oDLSYWSt+ZSXElvKjhBJPDn9ypJsf1OpzNrdR73hsJzjmCw0jo/U6 1+pLqG2BDutdiyft0ykvlqDFSrr/tcWj8yCPA= Received: by 10.114.155.7 with SMTP id c7mr3146322wae.27.1249026686713; Fri, 31 Jul 2009 00:51:26 -0700 (PDT) Received: from rx1.opensource.se (210-225-125-011.jp.fiberphone.net [210.225.125.11]) by mx.google.com with ESMTPS id j15sm4663603waf.51.2009.07.31.00.51.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 31 Jul 2009 00:51:25 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: rjw@sisk.pl, Magnus Damm , lethal@linux-sh.org Date: Fri, 31 Jul 2009 16:47:17 +0900 Message-Id: <20090731074717.29009.57874.sendpatchset@rx1.opensource.se> In-Reply-To: <20090731074705.29009.33769.sendpatchset@rx1.opensource.se> References: <20090731074705.29009.33769.sendpatchset@rx1.opensource.se> Subject: [PATCH 01/09] sh: Runtime PM pdev hwblk - header change Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm Add a hwblk_id member to struct pdev_archdata. This member should be used to point out on-chip hardware block id. Signed-off-by: Magnus Damm --- arch/sh/include/asm/device.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- 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/include/asm/device.h +++ work/arch/sh/include/asm/device.h 2009-07-30 15:00:23.000000000 +0900 @@ -3,7 +3,9 @@ * * This file is released under the GPLv2 */ -#include + +struct dev_archdata { +}; struct platform_device; /* allocate contiguous memory chunk and fill in struct resource */ @@ -12,3 +14,8 @@ int platform_resource_setup_memory(struc void plat_early_device_setup(void); +struct pdev_archdata { +#ifdef CONFIG_ARCH_SHMOBILE + int hwblk_id; +#endif +};