From patchwork Mon May 30 18:57:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 627937 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rJR9n4TFxz9t70 for ; Tue, 31 May 2016 05:13:49 +1000 (AEST) Received: from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3rJR9n3jPFzDqdx for ; Tue, 31 May 2016 05:13:49 +1000 (AEST) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rJQrJ5ZnyzDqW5 for ; Tue, 31 May 2016 04:58:40 +1000 (AEST) Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue104) with ESMTPA (Nemesis) id 0MORLZ-1bB2kU04rl-005m55; Mon, 30 May 2016 20:57:59 +0200 From: Arnd Bergmann To: Alexandre Belloni Subject: [PATCH v4 05/16] char/genrtc: remove alpha support Date: Mon, 30 May 2016 20:57:53 +0200 Message-Id: <1464634684-1248135-6-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1464634684-1248135-1-git-send-email-arnd@arndb.de> References: <1464634684-1248135-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:FA5lK/Vru53r+6fNNVlwDLCxGSe1tN8F1/Tu+C8ttHBOeQQXVnm iQWrn0GAQE2tAuPv6kTMgHfY6Nqy6d0UJUIgvCR54Y/+mcHd7/aW4PPLX9mxNUU8R0CCaw4 0v54ycGhzHZ4PSOwSS6rzS6a2qUvtUJskDhvMjmGZMs+5RoF+isuBKIFHIMkqX2xsY5euL3 WOikTjKpVl5Q7M/UzMu0g== X-UI-Out-Filterresults: notjunk:1; V01:K0:NgN4yUKzOJM=:WxGeDUmemm6+DLCdzWdIRL +FJr6qh0mYUdAFi51X6ixKBkShKsee15rMb8mZHpHOYmt98BW+c5kk7sjzkdqeIaabIqZI5QS 3lXlfdVaDgC/9ufFOKMZxhg0p5QTNO+OfX//r8bP6luSbkdls8wPRwGO38kF/TT5ITvFS+SQn 5l7Rw0+UcU1dsy/ObckQ31O88BURZnpBE1RNffC4nnqdC6xo41ddT2ADmKvr8xQQ3mNjZoRML 40Xb5B+fumY9o9Flr7LipN1aKniN4Qq/c5DgWLzuqfpPs/fZQFC6NGAcdeNUt7rQG6vAc/zkA /mUXn04cY8da+SuXciY3CRSo89DIhF64aDfBFmrT2qLlb2Sk9Ll7Ay32VCCrJD/QLdyGGX3rQ /yxuDG7h1BuWd9zieDgRW53KJ/E/F5ANz5WRob62OS8bu2Qyqs2Tw6MTaeznM8H9mtN4sXWgZ cPMkMNQAxbi/uSkWSNwRPhVLeI5R/uTsSsCE4qOWI5SoInz+iMTvBQ1xWB3+7r5eMMQ7dbUZq zUunDPBo9Vz+KRB5ZUHQ//k4mF/bp9u+Fh8DLRPmzdpwApsEnUN0z7XKtet/FocAybYybnPZW Tx68Z0LPrIt/oXy8vh0dJvZSXI3R1P0Y4930fEnZmMtX00OtDDDURoA0maD9qlB64wbEElaJ8 g2P3vLcTLb9EpfL0Ll9UPj+bSLLjEIJ7YjT5wIkdmDVm78fq7zDNx3b5n+zHFVLGJl2g= X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, a.zummo@towertech.it, dalias@libc.org, linux-parisc@vger.kernel.org, Arnd Bergmann , linux-sh@vger.kernel.org, gregkh@linuxfoundation.org, deller@gmx.de, linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, dhowells@redhat.com, linux-m68k@lists.linux-m68k.org, geert@linux-m68k.org, rtc-linux@googlegroups.com, linuxppc-dev@lists.ozlabs.org MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 --- arch/alpha/include/asm/rtc.h | 1 - arch/alpha/kernel/core_marvel.c | 1 - drivers/char/Kconfig | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 arch/alpha/include/asm/rtc.h diff --git a/arch/alpha/include/asm/rtc.h b/arch/alpha/include/asm/rtc.h deleted file mode 100644 index f71c3b0ed360..000000000000 --- a/arch/alpha/include/asm/rtc.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/alpha/kernel/core_marvel.c b/arch/alpha/kernel/core_marvel.c index 53dd2f1a53aa..d5f0580746a5 100644 --- a/arch/alpha/kernel/core_marvel.c +++ b/arch/alpha/kernel/core_marvel.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include "proto.h" diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 31b5861649ee..e3f2f3e293e5 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