OSDN Git Service

char/genrtc: remove alpha support
authorArnd Bergmann <arnd@arndb.de>
Mon, 30 May 2016 18:57:53 +0000 (20:57 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 3 Jun 2016 22:23:02 +0000 (00:23 +0200)
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>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/alpha/include/asm/rtc.h [deleted file]
arch/alpha/kernel/core_marvel.c
drivers/char/Kconfig

diff --git a/arch/alpha/include/asm/rtc.h b/arch/alpha/include/asm/rtc.h
deleted file mode 100644 (file)
index f71c3b0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/rtc.h>
index 53dd2f1..d5f0580 100644 (file)
@@ -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"
index 31b5861..e3f2f3e 100644 (file)
@@ -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