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: 102417 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp2446339qge; Wed, 27 Apr 2016 15:40:57 -0700 (PDT) X-Received: by 10.98.38.130 with SMTP id m124mr15770062pfm.14.1461796857694; Wed, 27 Apr 2016 15:40:57 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d7si6284715pfa.23.2016.04.27.15.40.57; Wed, 27 Apr 2016 15:40:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753945AbcD0Wks (ORCPT + 29 others); Wed, 27 Apr 2016 18:40:48 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.7.0 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