From patchwork Fri Jun 14 19:32:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 2724131 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 06174C0AB1 for ; Fri, 14 Jun 2013 20:12:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1109820367 for ; Fri, 14 Jun 2013 20:12:10 +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 953E320326 for ; Fri, 14 Jun 2013 20:12:08 +0000 (UTC) Received: from merlin.infradead.org ([205.233.59.134]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UnZtj-00043c-Az; Fri, 14 Jun 2013 19:43:02 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UnZnb-0007bP-K1; Fri, 14 Jun 2013 19:36:39 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UnZld-0007JW-GE for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2013 19:34:39 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MOE00FZSE9PI770@mailout1.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2013 20:33:25 +0100 (BST) X-AuditID: cbfec7f4-b7fd76d0000035e1-bf-51bb7005c60e Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id B4.59.13793.5007BB15; Fri, 14 Jun 2013 20:33:25 +0100 (BST) Received: from amdc1227.digital.local ([106.116.147.199]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0MOE00FXFEBEW970@eusync2.samsung.com>; Fri, 14 Jun 2013 20:33:25 +0100 (BST) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Subject: [PATCH 16/28] ARM: SAMSUNG: Compile s5p-irq-pm only with ATAGS support Date: Fri, 14 Jun 2013 21:32:52 +0200 Message-id: <1371238384-1504-17-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 1.8.2.1 In-reply-to: <1371238384-1504-1-git-send-email-t.figa@samsung.com> References: <1371238384-1504-1-git-send-email-t.figa@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgluLIzCtJLcpLzFFi42I5/e/4FV3Wgt2BBpc+cln8nXSM3aJ3wVU2 i7NNb9gtNj2+xmox4/w+Jou1R+6yW5y6/pnN4vCbdlaL9TNes1gcm7GE0YHL4/evSYwed67t YfPYvKTe48qJJlaPvi2rGD0+b5ILYIvisklJzcksSy3St0vgyrj46jxbwVfOiiPH8xoYN3F0 MXJwSAiYSDzuN+1i5AQyxSQu3FvP1sXIxSEksJRRYvWEZcwQTh+TxI51C9hBqtgE1CQ+Nzxi A7FFBFQlPreBxLk4mAVeMkncbXwAViQs4C/RvGoaK4jNAlTU9mwCI4jNK+AksWP6EWaIdQoS x7dvA4tzAsXPrt8CNlRIwFFieuMSlgmMvAsYGVYxiqaWJhcUJ6XnGuoVJ+YWl+al6yXn525i hITelx2Mi49ZHWIU4GBU4uGdqLY7UIg1say4MvcQowQHs5II711VoBBvSmJlVWpRfnxRaU5q 8SFGJg5OqQbGOVmflyw/GxwzvW9iwHyRHSf1Obz/KvZF9eXJJLUKd01arLL+UJPcp7jev7fZ /2dmv7q54v8lkW4/yaWGq+eUTnyoM8HuOI9kmeaunO/nmj2nhbf/XnaZqXt+2dxkm/1JslKy e94deOfqV2KxfOU8Zv4Foru0b36U1lyuK16nxbn/yZt9KyOuKbEUZyQaajEXFScCADgek50b AgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130614_153437_705069_58F7D56B X-CRM114-Status: UNSURE ( 8.47 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.2 (-------) Cc: Kukjin Kim , Arnd Bergmann , Tomasz Figa , Kyungmin Park , Thomas Abraham , Sylwester Nawrocki , Olof Johansson , linux-arm-kernel@lists.infradead.org, Marek Szyprowski 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.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, 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 This patch adds new Kconfig symbol, S5P_IRQ_PM that gets selected by S5P_PM, but only if SAMSUNG_ATAGS is selected. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- arch/arm/plat-samsung/Kconfig | 6 ++++++ arch/arm/plat-samsung/Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index c0f0542..1c607da 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig @@ -421,6 +421,12 @@ config S3C_DMA help Internal configuration for S3C DMA core +config S5P_IRQ_PM + bool + default y if S5P_PM + help + Legacy IRQ power management for S5P platforms + endif config SAMSUNG_DMADEV diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile index 8d95c15..0c9f3cd 100644 --- a/arch/arm/plat-samsung/Makefile +++ b/arch/arm/plat-samsung/Makefile @@ -58,5 +58,5 @@ obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o obj-$(CONFIG_S5P_PM) += s5p-pm.o -obj-$(CONFIG_S5P_PM) += s5p-irq-pm.o +obj-$(CONFIG_S5P_IRQ_PM) += s5p-irq-pm.o obj-$(CONFIG_S5P_SLEEP) += s5p-sleep.o