All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
	geert@linux-m68k.org, gregkh@linuxfoundation.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 v4 05/16] char/genrtc: remove alpha support
Date: Mon, 30 May 2016 20:57:53 +0200	[thread overview]
Message-ID: <1464634684-1248135-6-git-send-email-arnd__28279.910182073$1464634921$gmane$org@arndb.de> (raw)
In-Reply-To: <1464634684-1248135-1-git-send-email-arnd@arndb.de>

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 <arnd@arndb.de>
---
 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 <asm-generic/rtc.h>
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 <asm/gct.h>
 #include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
-#include <asm/rtc.h>
 #include <asm/vga.h>
 
 #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
-- 
2.7.0

  parent reply	other threads:[~2016-05-30 18:57 UTC|newest]

Thread overview: 119+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-30 18:57 [PATCH v4 00/16] genrtc removal Arnd Bergmann
2016-05-30 18:57 ` Arnd Bergmann
2016-05-30 18:57 ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:57 ` Arnd Bergmann
2016-05-30 18:57 ` Arnd Bergmann
2016-05-30 18:57 ` [PATCH v4 01/16] rtc: cmos: remove empty asm/mc146818rtc.h files Arnd Bergmann
2016-05-30 18:57 ` [PATCH v4 02/16] rtc: cmos: move mc146818rtc code out of asm-generic/rtc.h Arnd Bergmann
2016-05-30 18:57 ` [PATCH v4 03/16] char/genrtc: x86: remove remnants of asm/rtc.h Arnd Bergmann
2016-05-30 18:57 ` [PATCH v4 04/16] rtc: sh: provide rtc_class_ops directly Arnd Bergmann
2016-05-30 18:57 ` Arnd Bergmann [this message]
2016-05-30 18:57 ` [PATCH v4 06/16] char/genrtc: remove mn10300 support Arnd Bergmann
2016-05-30 18:57 ` [PATCH v4 07/16] rtc: parisc: provide rtc_class_ops directly Arnd Bergmann
2016-05-30 18:57 ` [PATCH v4 08/16] char/genrtc: remove parisc support Arnd Bergmann
2016-05-30 18:57 ` [PATCH v4 09/16] rtc: m68k: provide rtc_class_ops directly Arnd Bergmann
2016-05-30 18:57 ` [PATCH v4 10/16] rtc: m68k: provide ioctl for q40 Arnd Bergmann
2016-05-30 18:57 ` [PATCH v4 11/16] char/genrtc: remove m68k support Arnd Bergmann
2016-05-30 18:58 ` [PATCH v4 12/16] rtc: powerpc: provide rtc_class_ops directly Arnd Bergmann
2016-05-30 18:58 ` [PATCH v4 13/16] char/genrtc: remove powerpc support Arnd Bergmann
2016-05-30 18:58 ` [PATCH v4 14/16] rtc: generic: remove get_rtc_time/set_rtc_time wrappers Arnd Bergmann
     [not found] ` <1464634684-1248135-1-git-send-email-arnd-r2nGTMty4D4@public.gmane.org>
2016-05-30 18:57   ` [PATCH v4 01/16] rtc: cmos: remove empty asm/mc146818rtc.h files Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57   ` [PATCH v4 02/16] rtc: cmos: move mc146818rtc code out of asm-generic/rtc.h Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57   ` [PATCH v4 03/16] char/genrtc: x86: remove remnants of asm/rtc.h Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57   ` [PATCH v4 04/16] rtc: sh: provide rtc_class_ops directly Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-06-01 21:58     ` Rich Felker
     [not found]     ` <1464634684-1248135-5-git-send-email-arnd-r2nGTMty4D4@public.gmane.org>
2016-06-01 21:58       ` Rich Felker
2016-06-01 21:58         ` Rich Felker
2016-06-01 21:58         ` [rtc-linux] " Rich Felker
2016-06-01 21:58         ` Rich Felker
2016-06-01 21:58         ` Rich Felker
2016-05-30 18:57   ` [PATCH v4 05/16] char/genrtc: remove alpha support Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57   ` [PATCH v4 06/16] char/genrtc: remove mn10300 support Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57   ` [PATCH v4 07/16] rtc: parisc: provide rtc_class_ops directly Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57   ` [PATCH v4 08/16] char/genrtc: remove parisc support Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57   ` [PATCH v4 09/16] rtc: m68k: provide rtc_class_ops directly Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57   ` [PATCH v4 10/16] rtc: m68k: provide ioctl for q40 Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57   ` [PATCH v4 11/16] char/genrtc: remove m68k support Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:57     ` Arnd Bergmann
2016-05-30 18:58   ` [PATCH v4 12/16] rtc: powerpc: provide rtc_class_ops directly Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58   ` [PATCH v4 13/16] char/genrtc: remove powerpc support Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58   ` [PATCH v4 14/16] rtc: generic: remove get_rtc_time/set_rtc_time wrappers Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58   ` [PATCH v4 15/16] char/genrtc: remove asm-generic/rtc.h from mips Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58   ` [PATCH v4 16/16] char/genrtc: remove the rest of the driver Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58     ` [rtc-linux] " Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 18:58     ` Arnd Bergmann
2016-05-30 20:32   ` [PATCH v4 00/16] genrtc removal Alexandre Belloni
2016-05-30 20:32     ` Alexandre Belloni
2016-05-30 20:32     ` [rtc-linux] " Alexandre Belloni
2016-05-30 20:32     ` Alexandre Belloni
2016-05-30 20:32     ` Alexandre Belloni
     [not found]     ` <20160530203207.GY3451-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org>
2016-05-31  6:56       ` Geert Uytterhoeven
2016-05-31  6:56         ` Geert Uytterhoeven
2016-05-31  6:56         ` [rtc-linux] " Geert Uytterhoeven
2016-05-31  6:56         ` Geert Uytterhoeven
2016-05-31  6:56         ` Geert Uytterhoeven
2016-05-31  6:56     ` Geert Uytterhoeven
2016-05-30 18:58 ` [PATCH v4 15/16] char/genrtc: remove asm-generic/rtc.h from mips Arnd Bergmann
2016-05-30 18:58 ` [PATCH v4 16/16] char/genrtc: remove the rest of the driver Arnd Bergmann
2016-05-30 20:32 ` [PATCH v4 00/16] genrtc removal Alexandre Belloni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='1464634684-1248135-6-git-send-email-arnd__28279.910182073$1464634921$gmane$org@arndb.de' \
    --to=arnd@arndb.de \
    --cc=a.zummo@towertech.it \
    --cc=alexandre.belloni@free-electrons.com \
    --cc=benh@kernel.crashing.org \
    --cc=dalias@libc.org \
    --cc=deller@gmx.de \
    --cc=dhowells@redhat.com \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=linux-parisc@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=rtc-linux@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.