From patchwork Tue Apr 26 21:44:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 8946041 Return-Path: X-Original-To: patchwork-linux-parisc@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 26FC7BF29F for ; Tue, 26 Apr 2016 21:47:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4641A201F2 for ; Tue, 26 Apr 2016 21:47:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2902220166 for ; Tue, 26 Apr 2016 21:47:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753224AbcDZVpu (ORCPT ); Tue, 26 Apr 2016 17:45:50 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:52041 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752998AbcDZVpr (ORCPT ); Tue, 26 Apr 2016 17:45:47 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue003) with ESMTPA (Nemesis) id 0Lr6Rz-1bP1km2K5T-00eYnH; Tue, 26 Apr 2016 23:44:52 +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 8/8] char/genrtc: disallow building on mn10300 Date: Tue, 26 Apr 2016 23:44:12 +0200 Message-Id: <1461707052-1337718-9-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:+nhMOiH3amIU1G8S/bwKbpBLYn5CymGTkSSi1bny9Ga9VBd29/p YpFPvKhL/ESnpbnENKjgYtMTUPkGpY+jiLxdPe/Z5egf9v0Eo0Eg4hB+S2NpoT/L7+Xtkw+ s8l0c23fJxLKLPjvsATypw+ISclMWq78OKoH3cnnaQRzp/2WggIU8DBthG+bt2aLCPT0Q+B 83qOjoTY8wK8EGsorcAWQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:NzbE4idL4m4=:8avghEqXO8QVVV7K7AkquS rOBXQet6GDKjIYHlEX+uL5UcxPJ+JQdSmvDN8teGZkc34HfbMTR6SCA7SXjiKk5TYFh4B7oX4 tWpQ4ovYAucKRDXIn6iApCl4ZuVhNkCdWe4DUeGISr5PRsO2GoDrtWD/QcqdMU8CJbuU4pY6/ ylJc/t57C6DBtTQeit3M1eiFvtc3Zh07J0hOvfbahVr3HdKNoseeL2PBmco8uSqTHGkox6PQ2 dO8HTw0gzX3pIANieADsE6Soo8wPegYHI6gytUV/h8rKX5PifM8IZpsMzJaBX/Mrie3Fu4vz7 tZd7QzNCzVlcrmQcT9hinmmyfF383X0cUjiES8Kh3FoZJai6Lh+bu7vkDn/pvCFa/LLwDeY2z uyPcd7sjfulHjX0Iq6lAKl69FqK+oXSFSI0ZsCZDY5iZahzX6Im6B0GknBN/e3xSCCIMcKgpy qnrCmgVUT9tHzpkY6daESSGn9v2PHYyW9Jy0BP3xTjRSBm3PIVegqyhTWJsvNU2GonYVdz/Y/ kyBHBSbXqwa6QpHin7sAw+zx6ZgXjuQq85Muq04viJrepr2MtQbRFvF855YDY7sEOAESnfI4x K7ragg9FoF2XKaHmmk5D6L72Kv6LesI5lfE3H6unpAYZ6koB0MttEG4a5T9yD/Pf/j9LvGJjQ yycr5RbSQ0974izaEF4Ys4G2ILUPj1Q+rIrY6kY6oU90kcfArV3QlynHocZmA82VA+a0= Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@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 The genrtc driver serves no purpose on mn10300 because it drives the same hardware as the original rtc.c driver, and the newer rtc-generic.c or rtc-cmos.c drivers on architectures that use the asm-generic/rtc.h header. I assume it was initially only added for completeness when the mn10300 port was done, but the older rtc.c driver was always used instead. It would be nice to change the architecture to use the rtc-cmos driver next, and remove support for the old rtc driver as well. Signed-off-by: Arnd Bergmann --- drivers/char/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 697510325b1d..d17ed90ebc82 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -328,7 +328,7 @@ config JS_RTC config GEN_RTC tristate "Generic /dev/rtc emulation" depends on RTC!=y - depends on M68K || MN10300 || PARISC || PPC + depends on M68K || 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