From patchwork Wed Apr 27 19:45:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102431 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp2376930qge; Wed, 27 Apr 2016 12:45:34 -0700 (PDT) X-Received: by 10.67.14.7 with SMTP id fc7mr14561789pad.1.1461786334002; Wed, 27 Apr 2016 12:45:34 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 25si5565990pfh.120.2016.04.27.12.45.33; Wed, 27 Apr 2016 12:45:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753036AbcD0Tpc (ORCPT + 29 others); Wed, 27 Apr 2016 15:45:32 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:59033 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751884AbcD0Tpa (ORCPT ); Wed, 27 Apr 2016 15:45:30 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue003) with ESMTPA (Nemesis) id 0MRyX8-1b7AEt0TnO-00THdi; Wed, 27 Apr 2016 21:45:21 +0200 From: Arnd Bergmann To: Arnd Bergmann , Greg Kroah-Hartman Cc: Alexandre Belloni , Stephen Boyd , Geert Uytterhoeven , linux-kernel@vger.kernel.org Subject: [PATCH v3] char/rtc: replace blacklist with whitelist Date: Wed, 27 Apr 2016 21:45:01 +0200 Message-Id: <1461786317-568103-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:NN5bpGtJOSlYuF1drsD7XaGdDs8AVsk9iP999ilYC/qjD47j+gp //9Q+OowAXe62s0awIhnPVFRHklkNG+NgKgBEquEwLuPA1rKkgOqXKoH7YNIvMIHPTnVJqL rLBVFV416DyYB/o7pFNGBblCEraL/tSN1nbeJpIcoFGJWshc8Wj4hIvVpaHE6S7wYNXo8+W 7n8rUX8QrOmtZP7MQXYCA== X-UI-Out-Filterresults: notjunk:1; V01:K0:SiuBJfF2jOk=:AypZumq+prfT3zwtW5Bm7C UHX2jT2Y0E1e1DIvjpsWE3SL6pW1yTa3Hw2Z+QnsMSswYpx8L/4Cz3SuG/wrzr0n8vyG6r27z tYUjU0+eRKxz8+/6T4BocdG3HP4jDEgcrQRT4MUeJzOuuJbORvYEhtlFNZpSFph/btAB9xSpV 0dKgtBAs+5qk5ZpENK7S6bdZb+rJBKyulHuVGlMnNS7TMYcdY+yTsNltQrVf5riIHh/dp6V/D ziJubUKv3EmJbXgofXi9TJaFAVSJfaE3LLpot6jZCqvgBcLfJEx6pTq2SY7z2stZ+ZJUIwkXk M0RRDL522BtWmXxZod3E6CoAD1liHFDgNVESZridKAkTu087BGvEOTAL2oMtm7pWx5LdG17dY hZNPUJOdAm8X0fSVfURoYk6iqPeU2b6mJleKiDvMFrC4etIbGl+qBHcPv1TZK6qG3zDoO990p T3Q4z4cHBwrM7D1BkhO5YYii502SxmqtMIxwwvPCi0bhf3TGheQWS61+QSdgxgFAKwwfQ57EU SsKk9XfnCYoKrYwmhYdjubUAQCnqv1E9QmSurgBqjOGiVw7P6zU5K3zEsIaVTQ6jmu+MRUyaf eyg6BmZcv0I0W5V4GjfwByHfLJtpDoHyLZg5NTXemVYslzdfI75yRksz5oVDnK/IDlUW8nh6K T9EUInfle/ksJxtG5Ad+gBaX4XkjfDI3I7Hzq3febObT15w3n6ov/6t5FupQCUwVpIt4= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Every new architecture has to add itself to the growing list of those that do not support the legacy PC RTC driver. This replaces the long list of architectures that don't support it with a shorter list of those that do. The list is taken from those architectures that have a non-empty asm/mc146818rtc.h header file and were not explicitly blacklisted or select RTC_LIB. Alpha and Loongson64 can already choose between this driver and an rtc-class based one. mn10300 is actually the only architecture now that still requires this driver, and that should be fairly easy to change to use rtc-cmos if we want to kill off rtc.ko for good. Signed-off-by: Arnd Bergmann Acked-by: Alexandre Belloni --- This time I've trimmed down the whitelist even more, and separate the patch from the other ones that are now all about the GEN_RTC driver. drivers/char/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.7.0 diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 3ec0766ed5e9..ca397384dc15 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -279,8 +279,7 @@ if RTC_LIB=n config RTC tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)" - depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \ - && !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN && !UML + 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