From patchwork Wed Apr 27 22:34:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 8963661 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 4FD5D9F372 for ; Wed, 27 Apr 2016 22:41:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 74D8420219 for ; Wed, 27 Apr 2016 22:41:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8CDCC201F5 for ; Wed, 27 Apr 2016 22:41:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753927AbcD0Wkr (ORCPT ); Wed, 27 Apr 2016 18:40:47 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:64591 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777AbcD0Wko (ORCPT ); Wed, 27 Apr 2016 18:40:44 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue104) with ESMTPA (Nemesis) id 0MTP9j-1b5kg23iqt-00SRgd; Thu, 28 Apr 2016 00:34:50 +0200 From: Arnd Bergmann To: Alexandre Belloni Cc: Arnd Bergmann , geert@linux-m68k.org, deller@gmx.de, benh@kernel.crashing.org, mpe@ellerman.id.au, dalias@libc.org, dhowells@redhat.com, linux-alpha@vger.kernel.org, a.zummo@towertech.it, linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, linux-m68k@lists.linux-m68k.org, rtc-linux@googlegroups.com, linux-arch@vger.kernel.org Subject: [PATCH v3 05/16] char/genrtc: remove alpha support Date: Thu, 28 Apr 2016 00:34:19 +0200 Message-Id: <1461796470-1291527-6-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1461796470-1291527-1-git-send-email-arnd@arndb.de> References: <1461796470-1291527-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:5Xhm0uyLDMztmgDv4vSJ3XFkiAZV3dsnNylUjDski8dEf27pE0C o+W/4qhlACXl83v/RAVmDXBsRfVs7R3k9xjIO+0M0rc+3D7FaFObsJqdWcdFdjgqovvCKzG cFrQzvD6Gl+eOylSwl7EO60Ys1O+uvbOrI6aLgXqtU9LGfpuiEVR0vYG5wowQi2P5XUDZl1 e1NY3JOL8OMPvOi/DPmXA== X-UI-Out-Filterresults: notjunk:1; V01:K0:7TrYiwxaXnI=:yk9Cz6dUv08Tl4kSB6Ppvd boW1xy7axCYuP2PVNYTjArIoHxzlspI70W5VZw1XREqT71oZTEBnk/ozdttjnhUtlCq7zshrf rwEQi3l2puxP+4MShnwzeM2C3beQc84BXmdljOfhTQB58g6dG85aXzwJoz9iXigd9M1hxZYQx rIXP0GjJh7764vQevnBcfhPqKkIxI50rX56lD2NbatoD3FYrqP8e9jwgxwiOGlYlmnOtcYIZW ApuooKlR7YmbwTKqAKwXrSY7J/lEkMaaYj4xQSrA+VgAwQfevJoxJfJUrbNJFqx+dI63dziKB LKTzp5GjJGKsNxx0gPUPLPmBFBTw1v+y4a5Ihrx2CRFhtVmv374gatSOOjn+kiiQmgOV4QLik aC/Sl3dFIVZq1bZLPdlUWNAxOds5eJL1QVOJxOiyCegL3SMI5JHH3jW71Kmm0PwzLyTTC2VuP Acxk161ki7Lr5ChtCBwoaBKqyTbqXZI5SRke4HnHc+FJ/MFmScsA8HUUQk2OqkAqXlbCEOdWT c4xOhiHK8PfzCw9lL6NdG2Q9nx5jq4+5x8/XsRKof2a8HyjoxAgJwKgL2qhWYw3Jn2AFGktux RqqkUT/OTZG4gQakEKfK2ye4XD6971gEBPVmg6xMd6FtpyEgGaSd8gkf6lE+24J5oudQqRVEc byhY0AsrK4MOnol8w5dK9JI2cG5zM0KTbVW0R1gqh/NyWvNCacMV1eklM5M5knMqY/J0= 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 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 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