From patchwork Tue Apr 26 21:44:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 8946151 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 AF28CBF29F for ; Tue, 26 Apr 2016 21:48:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CFC49201EF for ; Tue, 26 Apr 2016 21:48:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D8A0C2011B for ; Tue, 26 Apr 2016 21:48:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752600AbcDZVp2 (ORCPT ); Tue, 26 Apr 2016 17:45:28 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:58296 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751881AbcDZVp0 (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 0LnFtp-1bMHvz3KpB-00hKDR; Tue, 26 Apr 2016 23:44:51 +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 7/8] char/genrtc: disallow building on Alpha Date: Tue, 26 Apr 2016 23:44:11 +0200 Message-Id: <1461707052-1337718-8-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:Bs9peEVr1AVnKuL2byYQVF5LlxOxdHfDlKyTdv/sarHijJ9i5al 9TDFuhwQdPztANrp0yvv5rRjEiuWyFfFND+/2NYDnpbvvvVXQknhopqAoP9zpvGVkRaRUER 3JiIxjssJuAN3RoPMe1c4a1I/EmXQ8IlDghJvSrmlC2dWXFZJmFVB5ACHtFgRY6SZlIG7eq kAa5wdh2isSh4F0VQKyNw== X-UI-Out-Filterresults: notjunk:1; V01:K0:ObW0x+54NAs=:CbY84Rb0NXyHX8HuuReVQE gGBcVRijGZebo5y1M+OgG0BgtqDfR2KQlU/njzRNR9Vv9uBAGkq89jQ2srJBR+a8t0a16eCdQ OaDY3UY0Fqg0sFVM3gMsXQNq8/vbrN46MadkgXcm59mWJjegoHK11RN3Ox/2Bph83j8Pa/Zbw 2+KiGpb3dP1PPCtgmSraUEnBUZZTNLoC8zilXoYSBV6AHHBMrnzEpMTk7/6DFFFt7sYqpgD8t IM8tHlfoIU0rXhDaMB1X6N3vB4UJgBKsS7kbKv+35yP95mFi2LmPJ+u/nAO+f//6u/WNs+PCl 8dctboMMFgGZRbaKzC5M2Yt4jP+EGbxfOsFbFcdZVZyGm6hvZI8ElYdcsLMKWNTEn7VL6zxUq oONt7UWaHY7aGBB8IMYZ+G1lNayuEq3f0bTWCqP3EUL4D5om4ET1PEuh++SJotwcHTpYbGGT1 Hqraiv0p1H1wiedFznIjkM9ZMFihUl3K4eKYEnXANhIR2T4AeeZKxc5rSXEJkrwI0K9L8u0jZ l4NyJyR43R/E1D9nC3frSbEUrh+OWZmOc2UaiGS+1mLYucTHmnmIJOFnYbAr3AbM1VmHqBovJ JwbucOkibn/CA4q75YMec8atNQE82NumGipYECRFhl9nFS74ZffWqT1tuIJKUMZP0ZtWqDWJN lQ/Z8yuy8zMKMcOaWRJBu929IVaNHxcvfW8tePK4m+XRldjS2ZZ96cREPKVtArF2nXzc= 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 Alpha 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. The defconfig uses CONFIG_RTC=y, so this driver is not used by default. At one point it was used to abstract a quirk for the "Marvel" platform, but it does not do this any more after the code was moved into yet another driver in arch/alpha/kernel/rtc.c. 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 9bdb629fbaae..697510325b1d 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 ALPHA || M68K || MN10300 || PARISC || PPC + depends on 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