Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cb1e353 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Alexandre Belloni
Browse files

char/genrtc: remove alpha support



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: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent d4db6874
Loading
Loading
Loading
Loading

arch/alpha/include/asm/rtc.h

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
#include <asm-generic/rtc.h>
+0 −1
Original line number Diff line number Diff line
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -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