From patchwork Tue Jul 9 10:40:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2825238 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 191DDC0AB2 for ; Tue, 9 Jul 2013 10:43:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 657EC20163 for ; Tue, 9 Jul 2013 10:43:06 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F3D7320161 for ; Tue, 9 Jul 2013 10:43:03 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwVLf-0002sl-Hw; Tue, 09 Jul 2013 10:40:45 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwVLI-0004g1-TK; Tue, 09 Jul 2013 10:40:20 +0000 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwVLE-0004dN-A4 for linux-arm-kernel@lists.infradead.org; Tue, 09 Jul 2013 10:40:17 +0000 Received: by mail-pa0-f42.google.com with SMTP id rl6so5429635pac.29 for ; Tue, 09 Jul 2013 03:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=rzLPbWUNicV46cKsTl3GzL5XexqnXSs23ZFkApF5DyM=; b=Qz+Ge5ruIX9sdulI1wehdSxxv0wlr3o98BIHadIws8oqzhHwamuu/Oi6A5Njq3lJz6 RFEul24BRvFE/l0VP8RnYZ8J+IYIcmGznWqs0AzHOvwk6zh6w8LKySDfS1z0X+IteWo5 8X0f6CYviFTbuEBkvJoBZoOKepxy1PNJ5xwyVsFHud/Kwom4I3q775M+QaXbiQcCbHb4 UCb38btwGmnRl4k51Ep+r58PlDD+G9HXMJ4SCJ0w43J8BpVrneG7je9ian9EJRDeU0Vt JNrRDHyK1jioyLHJ+pTHV/XBO3ijRfQPANGRnksU1sC86euSbg0H2w+nWDAdB/4dFSke Tpsg== X-Received: by 10.68.201.98 with SMTP id jz2mr21298409pbc.56.1373366394879; Tue, 09 Jul 2013 03:39:54 -0700 (PDT) Received: from [127.0.0.1] (ac230065.ppp.asahi-net.or.jp. [183.77.230.65]) by mx.google.com with ESMTPSA id iq3sm17388794pbb.20.2013.07.09.03.39.53 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Jul 2013 03:39:54 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Tue, 09 Jul 2013 19:40:01 +0900 Message-Id: <20130709104001.1891.16375.sendpatchset@w520> In-Reply-To: <20130709103944.1891.67462.sendpatchset@w520> References: <20130709103944.1891.67462.sendpatchset@w520> Subject: [PATCH 02/04] ARM: shmobile: Use pm-rmobile on sh7372 and r8a7740 only X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130709_064016_492481_9B4D2053 X-CRM114-Status: UNSURE ( 7.60 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: olof@lixom.net, horms@verge.net.au, Magnus Damm , linux-arm-kernel@lists.infradead.org, arnd@arndb.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm The functions in pm-rmobile.c are only used on sh7372 and r8a7740, so adjust the Makefile to only link in that file in case those SoCs are selected. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) --- 0001/arch/arm/mach-shmobile/Makefile +++ work/arch/arm/mach-shmobile/Makefile 2013-07-09 18:50:08.000000000 +0900 @@ -28,11 +28,10 @@ obj-$(CONFIG_ARCH_R8A7740) += entry-intc # PM objects obj-$(CONFIG_SUSPEND) += suspend.o obj-$(CONFIG_CPU_IDLE) += cpuidle.o -obj-$(CONFIG_ARCH_SHMOBILE) += pm-rmobile.o -obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o -obj-$(CONFIG_ARCH_R8A7740) += pm-r8a7740.o -obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o +obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o pm-rmobile.o obj-$(CONFIG_ARCH_SH73A0) += pm-sh73a0.o +obj-$(CONFIG_ARCH_R8A7740) += pm-r8a7740.o pm-rmobile.o +obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o # Board objects obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o