From patchwork Sat Dec 10 20:14:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 130560 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-gx0-f184.google.com (mail-gx0-f184.google.com [209.85.161.184]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id B457CB6FF5 for ; Sun, 11 Dec 2011 07:14:17 +1100 (EST) Received: by ggnk5 with SMTP id k5sf5922510ggn.11 for ; Sat, 10 Dec 2011 12:14:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=mime-version:x-beenthere:received-spf:from:to:cc:subject:date :message-id:x-mailer:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=3cJYDGfozd3pULBkAblK6D7delVVQP3NVIGucYT07iI=; b=H7Uah8SzovW7Eze/C7akr3/PM41ZR83nv9Dci0ouOkA9b2+O93qddN0T4bGhfFh223 U57MHxrs0gU30TcCjqC/1AUZrOq7M/jmLFvLFGsrfXV5HIyoVomtfcexUY/P9A72LJ4O /sTqBuJcW+aiXmP6LwsYQT2M9IYfljDnBsUMw= Received: by 10.236.189.10 with SMTP id b10mr5145726yhn.3.1323548052809; Sat, 10 Dec 2011 12:14:12 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.101.211.1 with SMTP id n1ls10870670anq.0.gmail; Sat, 10 Dec 2011 12:14:12 -0800 (PST) Received: by 10.101.15.15 with SMTP id s15mr3887701ani.16.1323548052436; Sat, 10 Dec 2011 12:14:12 -0800 (PST) Received: by 10.101.15.15 with SMTP id s15mr3887700ani.16.1323548052416; Sat, 10 Dec 2011 12:14:12 -0800 (PST) Received: from mail-yx0-f177.google.com (mail-yx0-f177.google.com [209.85.213.177]) by gmr-mx.google.com with ESMTPS id r67si3604918yhe.6.2011.12.10.12.14.12 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 10 Dec 2011 12:14:12 -0800 (PST) Received-SPF: pass (google.com: domain of festevam@gmail.com designates 209.85.213.177 as permitted sender) client-ip=209.85.213.177; Received: by mail-yx0-f177.google.com with SMTP id l2so3552656yen.36 for ; Sat, 10 Dec 2011 12:14:12 -0800 (PST) Received: by 10.236.190.97 with SMTP id d61mr19844477yhn.40.1323548052314; Sat, 10 Dec 2011 12:14:12 -0800 (PST) Received: from localhost.localdomain ([189.32.242.231]) by mx.google.com with ESMTPS id u47sm21924708yhl.0.2011.12.10.12.14.09 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 10 Dec 2011 12:14:11 -0800 (PST) From: Fabio Estevam To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, kernel@pengutronix.de, linux-kernel@vger.kernel.org, Fabio Estevam , Fabio Estevam Subject: [rtc-linux] [PATCH] rtc: Kconfig: Place RTC_DRV_IMXDI and RTC_MXC under "on-CPU RTC drivers" Date: Sat, 10 Dec 2011 18:14:02 -0200 Message-Id: <1323548042-25432-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.1 X-Original-Sender: festevam@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of festevam@gmail.com designates 209.85.213.177 as permitted sender) smtp.mail=festevam@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , RTC_DRV_IMXDI and RTC_MXC are on-chip RTC modules, so move them under "on-CPU RTC drivers" selection menu. While at it change the dependency of RTC_DRV_IMXDI from ARCH_MX25 to SOC_IMX25. Signed-off-by: Fabio Estevam --- drivers/rtc/Kconfig | 42 +++++++++++++++++++++--------------------- 1 files changed, 21 insertions(+), 21 deletions(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 53eb4e5..fdc32ba 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -613,27 +613,6 @@ config RTC_DRV_MSM6242 This driver can also be built as a module. If so, the module will be called rtc-msm6242. -config RTC_DRV_IMXDI - tristate "Freescale IMX DryIce Real Time Clock" - depends on ARCH_MX25 - depends on RTC_CLASS - help - Support for Freescale IMX DryIce RTC - - This driver can also be built as a module, if so, the module - will be called "rtc-imxdi". - -config RTC_MXC - tristate "Freescale MXC Real Time Clock" - depends on ARCH_MXC - depends on RTC_CLASS - help - If you say yes here you get support for the Freescale MXC - RTC module. - - This driver can also be built as a module, if so, the module - will be called "rtc-mxc". - config RTC_DRV_BQ4802 tristate "TI BQ4802" help @@ -731,6 +710,16 @@ config RTC_DRV_DAVINCI This driver can also be built as a module. If so, the module will be called rtc-davinci. +config RTC_DRV_IMXDI + tristate "Freescale IMX DryIce Real Time Clock" + depends on SOC_IMX25 + depends on RTC_CLASS + help + Support for Freescale IMX DryIce RTC + + This driver can also be built as a module, if so, the module + will be called "rtc-imxdi". + config RTC_DRV_OMAP tristate "TI OMAP1" depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 || ARCH_DAVINCI_DA8XX @@ -1070,4 +1059,15 @@ config RTC_DRV_PUV3 This drive can also be built as a module. If so, the module will be called rtc-puv3. +config RTC_MXC + tristate "Freescale MXC Real Time Clock" + depends on ARCH_MXC + depends on RTC_CLASS + help + If you say yes here you get support for the Freescale MXC + RTC module. + + This driver can also be built as a module, if so, the module + will be called "rtc-mxc". + endif # RTC_CLASS