summaryrefslogtreecommitdiffstats
path: root/arch/m68k/hp300/config.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-05-30 20:57:59 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-06-04 00:23:28 +0200
commit084b3600e2d98ebbab968f91b8b8f48ffbbf2ecb (patch)
tree4833d3b0f041e321dca2f1d7f6fe82caade31095 /arch/m68k/hp300/config.c
parentrtc: m68k: provide ioctl for q40 (diff)
downloadlinux-084b3600e2d98ebbab968f91b8b8f48ffbbf2ecb.tar.xz
linux-084b3600e2d98ebbab968f91b8b8f48ffbbf2ecb.zip
char/genrtc: remove m68k support
The asm/rtc.h header is only used for the old gen_rtc driver that has been replaced by rtc-generic. According to Geert Uytterhoeven, nobody has used the old driver on m68k for a long time, so we can now just remove the header file and disallow the driver in Kconfig. All files that used to include asm/rtc.h are now changed so they include the headers that were used implicitly through asm/rtc.h. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/m68k/hp300/config.c')
-rw-r--r--arch/m68k/hp300/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/hp300/config.c b/arch/m68k/hp300/config.c
index a9befe65adc4..7cfab158fb61 100644
--- a/arch/m68k/hp300/config.c
+++ b/arch/m68k/hp300/config.c
@@ -12,6 +12,7 @@
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/console.h>
+#include <linux/rtc.h>
#include <asm/bootinfo.h>
#include <asm/bootinfo-hp300.h>
@@ -20,7 +21,6 @@
#include <asm/blinken.h>
#include <asm/io.h> /* readb() and writeb() */
#include <asm/hp300hw.h>
-#include <asm/rtc.h>
#include "time.h"