From patchwork Fri Apr 11 10:40:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 28268 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 91CA020822 for ; Fri, 11 Apr 2014 10:40:31 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id rl12sf24626114iec.10 for ; Fri, 11 Apr 2014 03:40:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=ib0FC361FO80CcD7gqnW02wSCQ/VPZwuWMBuNetzunU=; b=ICig0Y7uDntfz7Hf0AnBY/HoCLV7btvQZJ5UNnPBaCXW9gAZP9EMjBpZ7g5+yf1cdh o4KdAQZH1A5Q6IrM5iV4zQEFkHDSWE5VRca+dqknMnpjHSEOSYJOBJG3wRoJGIlhY5il cs4XDCwLyDFd7fANndnXd+Ly2Mv0znJM4jrUW4O/Ia8Nn4/9BnklSHFypc/EXxCI4WSH N26Zl8K5K8Qz/k/tnNukZ/WCJRSoyTEYT8X2j7BqD2SxdMPy1EUwS0q8NbFHe8Qezmcf mk3i2jZKeNmDEoxfmOcXY7IGEYhM/JqMeHiCxe9JoHiLVPBXHqp9G73Ns8CYKBnbh18K f+/Q== X-Gm-Message-State: ALoCoQma+1u6P/Cojoxwl13QN5bFLiTla2HLz/RXy8Ozmm6iBJpbiXqV5c5C419bHOEwOCX/Yk7q X-Received: by 10.182.87.2 with SMTP id t2mr11320702obz.2.1397212830969; Fri, 11 Apr 2014 03:40:30 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.145 with SMTP id c17ls1567183qgd.60.gmail; Fri, 11 Apr 2014 03:40:30 -0700 (PDT) X-Received: by 10.58.185.145 with SMTP id fc17mr19974745vec.14.1397212830832; Fri, 11 Apr 2014 03:40:30 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id j5si1227548veb.75.2014.04.11.03.40.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Apr 2014 03:40:30 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id pa12so4637957veb.15 for ; Fri, 11 Apr 2014 03:40:30 -0700 (PDT) X-Received: by 10.220.159.4 with SMTP id h4mr19523580vcx.1.1397212830750; Fri, 11 Apr 2014 03:40:30 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp46135vcb; Fri, 11 Apr 2014 03:40:30 -0700 (PDT) X-Received: by 10.68.224.198 with SMTP id re6mr26463021pbc.8.1397212829841; Fri, 11 Apr 2014 03:40:29 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xy8si3963775pab.160.2014.04.11.03.40.29; Fri, 11 Apr 2014 03:40:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756741AbaDKKk1 (ORCPT + 8 others); Fri, 11 Apr 2014 06:40:27 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:55098 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756766AbaDKKkZ (ORCPT ); Fri, 11 Apr 2014 06:40:25 -0400 Received: by mail-wi0-f171.google.com with SMTP id q5so765021wiv.4 for ; Fri, 11 Apr 2014 03:40:24 -0700 (PDT) X-Received: by 10.180.99.161 with SMTP id er1mr2828594wib.3.1397212824313; Fri, 11 Apr 2014 03:40:24 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-377-242.w86-199.abo.wanadoo.fr. [86.199.232.242]) by mx.google.com with ESMTPSA id eq8sm3683033wib.16.2014.04.11.03.40.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Apr 2014 03:40:23 -0700 (PDT) From: Daniel Lezcano To: kgene.kim@samsung.com Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, t.figa@samsung.com, linaro-kernel@lists.linaro.org, rjw@rjwysocki.net Subject: [PATCH V5 20/20] ARM: exynos: cpuidle: Move the driver to drivers/cpuidle directory Date: Fri, 11 Apr 2014 12:40:15 +0200 Message-Id: <1397212815-16068-21-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1397212815-16068-1-git-send-email-daniel.lezcano@linaro.org> References: <1397212815-16068-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Daniel Lezcano Reviewed-by: Viresh Kumar Reviewed-by: Bartlomiej Zolnierkiewicz Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/Makefile | 1 - drivers/cpuidle/Kconfig.arm | 6 ++++++ drivers/cpuidle/Makefile | 1 + .../cpuidle.c => drivers/cpuidle/cpuidle-exynos.c | 0 4 files changed, 7 insertions(+), 1 deletion(-) rename arch/arm/mach-exynos/cpuidle.c => drivers/cpuidle/cpuidle-exynos.c (100%) diff --git a/arch/arm/mach-exynos/cpuidle.c b/drivers/cpuidle/cpuidle-exynos.c similarity index 100% rename from arch/arm/mach-exynos/cpuidle.c rename to drivers/cpuidle/cpuidle-exynos.c diff --git a/arch/arm/mach-exynos/Makefile b/arch/arm/mach-exynos/Makefile index a656dbe..21bd364 100644 --- a/arch/arm/mach-exynos/Makefile +++ b/arch/arm/mach-exynos/Makefile @@ -16,7 +16,6 @@ obj-$(CONFIG_ARCH_EXYNOS) += exynos.o obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o -obj-$(CONFIG_CPU_IDLE) += cpuidle.o obj-$(CONFIG_ARCH_EXYNOS) += pmu.o diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm index d988948..364c984 100644 --- a/drivers/cpuidle/Kconfig.arm +++ b/drivers/cpuidle/Kconfig.arm @@ -44,3 +44,9 @@ config ARM_AT91_CPUIDLE depends on ARCH_AT91 help Select this to enable cpuidle for AT91 processors + +config ARM_EXYNOS_CPUIDLE + bool "Cpu Idle Driver for the Exynos processors" + depends on ARCH_EXYNOS + help + Select this to enable cpuidle for Exynos processors diff --git a/drivers/cpuidle/Makefile b/drivers/cpuidle/Makefile index f71ae1b..0d1540a 100644 --- a/drivers/cpuidle/Makefile +++ b/drivers/cpuidle/Makefile @@ -13,6 +13,7 @@ obj-$(CONFIG_ARM_KIRKWOOD_CPUIDLE) += cpuidle-kirkwood.o obj-$(CONFIG_ARM_ZYNQ_CPUIDLE) += cpuidle-zynq.o obj-$(CONFIG_ARM_U8500_CPUIDLE) += cpuidle-ux500.o obj-$(CONFIG_ARM_AT91_CPUIDLE) += cpuidle-at91.o +obj-$(CONFIG_ARM_EXYNOS_CPUIDLE) += cpuidle-exynos.o ############################################################################### # POWERPC drivers