From patchwork Tue Apr 26 21:44:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 8945981 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 842F49F1D3 for ; Tue, 26 Apr 2016 21:45:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A48B8201FE for ; Tue, 26 Apr 2016 21:45:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C626D20204 for ; Tue, 26 Apr 2016 21:45:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752843AbcDZVpb (ORCPT ); Tue, 26 Apr 2016 17:45:31 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:63199 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752210AbcDZVp0 (ORCPT ); Tue, 26 Apr 2016 17:45:26 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue003) with ESMTPA (Nemesis) id 0LwEDC-1bmJNY1SAg-0186A6; Tue, 26 Apr 2016 23:44:46 +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 1/8] char/rtc: replace blacklist with whitelist Date: Tue, 26 Apr 2016 23:44:05 +0200 Message-Id: <1461707052-1337718-2-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:03GHigK4UM203JlT4A/GcpASsEQw9XNLDzvfpwvrlHBfLqYz14G R52SzEGM4cQddMSGRqRWQ0Wr7jAyRvDCoAE+WDWocOkRNqAEtpdfdSLemGYDmDdEi1sQCBu Ailr/CZijprqbgKQxCiR0wBHVzhaRv46/TYLNFwTKGKUCKdc+DUWyL8gJyVOufSwCtcxMZr G5+eS18u059SW9tab9V4A== X-UI-Out-Filterresults: notjunk:1; V01:K0:kX8LncTnIDU=:H9hzXW55pcn17S1HuP884L XvkjTr4chTWGcX82Eqha07N3jp2HkBT2AqBDfZj7pJRuVifBGmMiodMB43nUoLD4Dvj9H7Ql4 nzH8/eTaUl9wFVSINGclCPeQNHSyUKX0P+x5M87Qr0zGG2F6bLJbnQBneFk6JZA1ZSLrNap9f yP4uO27svo5f/1MQrBPHzIhenc7KpsR+bXIwk56Uq4gVw/sQGUJ4LaP7uajkY4iE1mcZMq1aY hlsFgPip8kvcw2LCxsUyLh8A2Maema1FauJKgoYKCdSa4tHI5RPM2oxUScWDsWVZH+Pc6FIRn 4gwG99tSH1fd4mXAwelPZAd8rOVR20rk+43ZW/6f2Uhw//sI+yQyNGgrHDIzGojN4BwEP6w1N bz2lKqhg6auu8PZH1E03rJhEh0eLynP+kfcendNVJhcjgIEY0NnJxbZRK8v7+0SVhqJodD6cd +WvGAriOnN4PmKR5OcCSg8PAdSjNP8AK/RJYC70u3xxQB5A52EFxzhggPgzUzm7MIOjN6cVeY q7okgJHpZ6/H/Bgwabi9eegSGixg7z9oMUXlOwyvvuTy7Er3xfh7a3bhrYKKsNmdRH6al4q7X UZm1+ibPTBpiXzwQMlX3HNdMAok8wvqeibvZBeNTtX1W8nqx/Z/ULWakPjsM/cozk67Nt4OW3 K42mFinKb9zcP7q+dnfBA6xdTfOZTVGTsqDfJEkgJYRoFAw1oDrRgw1QCT2ButIzvv/I= 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 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. Signed-off-by: Arnd Bergmann Acked-by: Alexandre Belloni --- drivers/char/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 3ec0766ed5e9..66b5d48f409a 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 || X86 ---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