From patchwork Tue Apr 26 21:44:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 8946191 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6A2CFBF29F for ; Tue, 26 Apr 2016 21:51:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8D394201F2 for ; Tue, 26 Apr 2016 21:51:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE995201EF for ; Tue, 26 Apr 2016 21:51:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752561AbcDZVu4 (ORCPT ); Tue, 26 Apr 2016 17:50:56 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:56384 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751885AbcDZVuy (ORCPT ); Tue, 26 Apr 2016 17:50:54 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue003) with ESMTPA (Nemesis) id 0LsdiP-1bs3s60QAL-012L89; Tue, 26 Apr 2016 23:44:47 +0200 From: Arnd Bergmann To: Greg Kroah-Hartman Cc: Arnd Bergmann , tony.luck@intel.com, geert@linux-m68k.org, jejb@parisc-linux.org, deller@gmx.de, benh@kernel.crashing.org, mpe@ellerman.id.au, dalias@libc.org, dhowells@redhat.com, yasutake.koichi@jp.panasonic.com, rth@twiddle.net, ink@jurassic.park.msu.ru, linux-alpha@vger.kernel.org, x86@kernel.org, a.zummo@towertech.it, alexandre.belloni@free-electrons.com, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, rtc-linux@googlegroups.com, linux-arch@vger.kernel.org Subject: [PATCH 2/8] char/rtc: legacy RTC is no longer supported on x86 Date: Tue, 26 Apr 2016 23:44:06 +0200 Message-Id: <1461707052-1337718-3-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1461707052-1337718-1-git-send-email-arnd@arndb.de> References: <1461707052-1337718-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:W8F9esVdeIF1tOhyAyY1IynX5Oylm8GTYkBRdek421DT/3KBrRH ytwhF0EdGoc3ux0RV8bU5yCgQPY02J3pkTcWjHzND4H2oFA1uTmSUOB5MSKG09i1XHNVTQ7 p3QYzd0SSMy5KY+jEs1KWcRUnhy/fK1ku+WgcPtY+maBiz25Hw2v3oDx21Ylv1/frYHyc1f /OwJEeS5MGRlqA0vAO8zQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:dUEq+emSVGM=:7iuQNhyv3UCN0NBS8kUcaJ pauL7qTO8wSExMFEtXvm1CvS4M09QK7niczCG7NsTG2sKvSIHO1nwHu6FEbSbUTy2ohxuhZiM sxqNwzooPz1uQ2UMnoRo4Pylbr92j1Bi56r3yvWCy8fiqcXUcR/hmfPgY7kA49IATJWMsyzVI 9YzbPwV76WRGC8PrzDpDZtujCfyMeWtu0KAwER7AhZxjVdtqMup/Lpbfd4IpgdUzjWdzZDJ+1 aDZayRTdP3g4ZGZzKPOJ32UA/F5hs+chkH8PXjBHKzbQmR7/AYICqh8XBZSflrE5BA4tj8+Bj qT2fXDy3JgLTNg7K995K+O7hsA6FOJyeB+nmS4fiWhCcRwsvhhEt+vnUF3jmdMbIyQ00mUBCJ Zr4b3iEXRmpNosKNvag0ar3CUcTCFBiB6JTWEZ7aPsIm7TjRonFQ4o5mDrPFPc4aWWCb6Nyz4 o4bGwG/IiDJVXpH1o7QtwuFmBzzyVZvJi3uUgBKU54oGcfDmwup/XDw+GHuQPrqybC+CMhA4L /xMnW7jnpIPeHtEbZ27B/xFq9KAwoC/TVyDqgfB5LfBn9L89k6K9Xr02DdTYRovTdhcxZiXki 0McJqZvjTuM6VGvW2ng87uKgrhe0mSZ2ux9AeuNgU9emsMy290YgnExiGCYu9n1b1osm/6wth TkD4N99eZfwFblLiKcdlL/hCHi9zc0DFHPz0x5hVP7nAx851sE2D8oLsfiMmYBeK7aeA= Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.9 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 Commit 3195ef59cb42 ("x86: Do full rtc synchronization with ntp") had the side-effect of unconditionally enabling the RTC_LIB symbol on x86, which in turn disables the selection of the CONFIG_RTC and CONFIG_GEN_RTC drivers that contain a two older implementations of the CONFIG_RTC_DRV_CMOS driver. This removes x86 from the list. Signed-off-by: Arnd Bergmann Acked-by: Alexandre Belloni Reviewed-by: Thomas Gleixner --- drivers/char/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 66b5d48f409a..9bdb629fbaae 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -279,7 +279,7 @@ if RTC_LIB=n config RTC tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)" - depends on ALPHA || (MIPS && MACH_LOONGSON64) || MN10300 || X86 + depends on ALPHA || (MIPS && MACH_LOONGSON64) || MN10300 ---help--- If you say Y here and create a character special file /dev/rtc with major number 10 and minor number 135 using mknod ("man mknod"), you @@ -328,7 +328,7 @@ config JS_RTC config GEN_RTC tristate "Generic /dev/rtc emulation" depends on RTC!=y - depends on ALPHA || M68K || MN10300 || PARISC || PPC || X86 + depends on ALPHA || M68K || MN10300 || PARISC || PPC ---help--- If you say Y here and create a character special file /dev/rtc with major number 10 and minor number 135 using mknod ("man mknod"), you