From patchwork Tue May 10 13:52:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9057931 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4FE5F9F1D3 for ; Tue, 10 May 2016 13:56:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78D7820142 for ; Tue, 10 May 2016 13:56:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 850952010E for ; Tue, 10 May 2016 13:56:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752278AbcEJN4O (ORCPT ); Tue, 10 May 2016 09:56:14 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:32810 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752225AbcEJN4M (ORCPT ); Tue, 10 May 2016 09:56:12 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O6Y00IVLS1LX140@mailout4.w1.samsung.com>; Tue, 10 May 2016 14:56:09 +0100 (BST) X-AuditID: cbfec7f5-f792a6d000001302-04-5731e8795d26 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id A0.D7.04866.978E1375; Tue, 10 May 2016 14:56:09 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O6Y001CDS1HLHC0@eusync2.samsung.com>; Tue, 10 May 2016 14:56:09 +0100 (BST) From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Javier Martinez Canillas , Bartlomiej Zolnierkiewicz Subject: [PATCH 1/2] ARM: EXYNOS: Move pm_domains driver to drivers/soc/samsung Date: Tue, 10 May 2016 15:52:20 +0200 Message-id: <1462888341-21963-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgluLIzCtJLcpLzFFi42I5/e/4Fd3KF4bhBgtPSVlsnLGe1eLN2zVM Fq9fGFr0P37NbLHp8TVWi8u75rBZzDi/j8li7ZG77A4cHptWdbJ5bF5S77Gl/y67R9+WVYwe nzfJBbBGcdmkpOZklqUW6dslcGUcvXeRveABT8Wn98+YGxjvcHUxcnJICJhIzLq+jxXCFpO4 cG89WxcjF4eQwFJGiaY195khnEYmiXdPjjOBVLEJGEtsXr4ErEpEYC+jxLnN75lAHGaBOYwS C043sYNUCQv4Syxs+cYIYrMIqEqcursOKM7BwSvgLvHktjrEOjmJk8cms05g5F7AyLCKUTS1 NLmgOCk910ivODG3uDQvXS85P3cTIyRcvu5gXHrM6hCjAAejEg+vAK9huBBrYllxZe4hRgkO ZiUR3uKHQCHelMTKqtSi/Pii0pzU4kOM0hwsSuK8M3e9DxESSE8sSc1OTS1ILYLJMnFwSjUw qpU+E9u8ZdNFJvOlxvf/zFxq57/uQXPL23s1S/+fP7H4pWSKVG3n9uCkNtl6T8GbYuz810PK MieZufxhNZ5p7zvJc8braZHbGe63dGfv3bJnydr7Tl5Lt1dsXK6zb/pEg/KUw2nKM/UaPlRw z3tjmfz7b7rl4nOfDmo//NOoPo/14qIMe04jaSWW4oxEQy3mouJEANjTDmUTAgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Exynos PM domains driver does not have mach-specific dependencies so it can be safely moved out of arm/mach-exynos to drivers/soc. This in future will allow re-using it on ARM64 boards. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Javier Martinez Canillas --- arch/arm/mach-exynos/Makefile | 1 - drivers/soc/samsung/Makefile | 1 + {arch/arm/mach-exynos => drivers/soc/samsung}/pm_domains.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename {arch/arm/mach-exynos => drivers/soc/samsung}/pm_domains.c (100%) diff --git a/arch/arm/mach-exynos/pm_domains.c b/drivers/soc/samsung/pm_domains.c similarity index 100% rename from arch/arm/mach-exynos/pm_domains.c rename to drivers/soc/samsung/pm_domains.c diff --git a/arch/arm/mach-exynos/Makefile b/arch/arm/mach-exynos/Makefile index 34d29df3e006..838249d4ff5c 100644 --- a/arch/arm/mach-exynos/Makefile +++ b/arch/arm/mach-exynos/Makefile @@ -13,7 +13,6 @@ obj-$(CONFIG_ARCH_EXYNOS) += exynos.o exynos-smc.o firmware.o obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm.o sleep.o obj-$(CONFIG_PM_SLEEP) += suspend.o -obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o obj-$(CONFIG_SMP) += platsmp.o headsmp.o diff --git a/drivers/soc/samsung/Makefile b/drivers/soc/samsung/Makefile index f64ac4d80564..8acba2bbbd78 100644 --- a/drivers/soc/samsung/Makefile +++ b/drivers/soc/samsung/Makefile @@ -1,2 +1,3 @@ +obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o obj-$(CONFIG_EXYNOS_PMU) += exynos-pmu.o exynos3250-pmu.o exynos4-pmu.o \ exynos5250-pmu.o exynos5420-pmu.o