From patchwork Fri Oct 25 07:11:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 3094401 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 5C522BF924 for ; Fri, 25 Oct 2013 07:11:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8E23E2025A for ; Fri, 25 Oct 2013 07:11:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7F82F20254 for ; Fri, 25 Oct 2013 07:11:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751466Ab3JYHLU (ORCPT ); Fri, 25 Oct 2013 03:11:20 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:44876 "EHLO mail-wg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751182Ab3JYHLT (ORCPT ); Fri, 25 Oct 2013 03:11:19 -0400 Received: by mail-wg0-f53.google.com with SMTP id y10so3400258wgg.20 for ; Fri, 25 Oct 2013 00:11:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9wYxvycI+FknTfXJ1Nu7y9hWInujEDoP9mkCoDviizQ=; b=WRLHC2U2uyD/X+oz/NAmFrVPU75Q2tfEISXu0KUehyU46KA+rhIgNQ/dmrTgJaEnqs wyZi636ICKQtMDuks79TykTh1VkmWDs/0yul5ggT0mt8iZzMMhxHz026GAK0YOX/wS9l U8ZvG0b1yQxsZwamVuj63wrklp3Ni6ajNreVptvqrQdA5bHiVNzEKsTpoiPhJy5WqRqK EPVn8pOSRntPtk2EJIeOZtqhfBBEosGzGv79JBcPH7vhDXYFDEt95Z2BXDvP+yMWZqaN Ht2xsGF8DD+RaLZX2wmWRO/QCmIct07YGpS8hlnnta+cEmpQXTKGlliDcsYZory3PQif 0i5g== X-Gm-Message-State: ALoCoQlxZZFs82ZpQRl14R5H9hhUpe9JkbgrLr1BMrltzq3mAck/BLj3m7LbMAVMrAOuIaEkrI+B X-Received: by 10.180.36.105 with SMTP id p9mr1220738wij.2.1382685076966; Fri, 25 Oct 2013 00:11:16 -0700 (PDT) Received: from mai.home (AToulouse-654-1-445-47.w83-205.abo.wanadoo.fr. [83.205.196.47]) by mx.google.com with ESMTPSA id w10sm2897600wia.4.2013.10.25.00.11.15 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Oct 2013 00:11:16 -0700 (PDT) From: Daniel Lezcano To: ben-linux@fluff.org, kgene.kim@samsung.com Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 2/2] ARM: s3c64xx: cpuidle: move driver to drivers/cpuidle Date: Fri, 25 Oct 2013 09:11:14 +0200 Message-Id: <1382685074-16502-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1382685074-16502-1-git-send-email-daniel.lezcano@linaro.org> References: <1382685074-16502-1-git-send-email-daniel.lezcano@linaro.org> 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=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 There is no more dependency with the arch dependant code, thanks to the platform driver conversion. Move the driver to the drivers/cpuidle like the other drivers. Signed-off-by: Daniel Lezcano --- arch/arm/mach-s3c64xx/Makefile | 1 - drivers/cpuidle/Kconfig.arm | 7 +++++++ drivers/cpuidle/Makefile | 1 + .../cpuidle.c => drivers/cpuidle/cpuidle-s3c64xx.c | 0 4 files changed, 8 insertions(+), 1 deletion(-) rename arch/arm/mach-s3c64xx/cpuidle.c => drivers/cpuidle/cpuidle-s3c64xx.c (100%) diff --git a/arch/arm/mach-s3c64xx/cpuidle.c b/drivers/cpuidle/cpuidle-s3c64xx.c similarity index 100% rename from arch/arm/mach-s3c64xx/cpuidle.c rename to drivers/cpuidle/cpuidle-s3c64xx.c diff --git a/arch/arm/mach-s3c64xx/Makefile b/arch/arm/mach-s3c64xx/Makefile index 31d0c91..e7a3ee7 100644 --- a/arch/arm/mach-s3c64xx/Makefile +++ b/arch/arm/mach-s3c64xx/Makefile @@ -22,7 +22,6 @@ obj-$(CONFIG_CPU_S3C6410) += s3c6410.o # PM obj-$(CONFIG_PM) += pm.o irq-pm.o sleep.o -obj-$(CONFIG_CPU_IDLE) += cpuidle.o # DMA support diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm index f23bd75..5b2f84d 100644 --- a/drivers/cpuidle/Kconfig.arm +++ b/drivers/cpuidle/Kconfig.arm @@ -44,3 +44,10 @@ config ARM_AT91_CPUIDLE depends on ARCH_AT91 help Select this to enable cpuidle for AT91 processors + +config ARM_S3C64XX_CPUIDLE + bool "Cpu Idle Driver for the s3c64xx processors" + default y + depends on ARCH_S3C64XX + help + Select this to enable cpuidle for s3c64xx processors diff --git a/drivers/cpuidle/Makefile b/drivers/cpuidle/Makefile index 527be28..2768020 100644 --- a/drivers/cpuidle/Makefile +++ b/drivers/cpuidle/Makefile @@ -13,3 +13,4 @@ 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_S3C64XX_CPUIDLE) += cpuidle-s3c64xx.o