diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-08-25 11:09:06 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-08-26 12:22:53 +0200 |
commit | 518c0afb55ee3642b044a5238c66354c7b935974 (patch) | |
tree | 10c0a3cf115e3b516679e3354a16bbc635a695f3 /arch/mips/include/asm/m48t37.h | |
parent | 942b14fb3e58fd994cf23cb67da0e5998e995b61 (diff) | |
download | lwn-518c0afb55ee3642b044a5238c66354c7b935974.tar.gz lwn-518c0afb55ee3642b044a5238c66354c7b935974.zip |
MIPS: Remove unused header file m48t37.h
No users -> remove it.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include/asm/m48t37.h')
-rw-r--r-- | arch/mips/include/asm/m48t37.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/arch/mips/include/asm/m48t37.h b/arch/mips/include/asm/m48t37.h deleted file mode 100644 index 3687a02e692b..000000000000 --- a/arch/mips/include/asm/m48t37.h +++ /dev/null @@ -1,36 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Registers for the SGS-Thomson M48T37 Timekeeper RAM chip - */ -#ifndef _ASM_M48T37_H -#define _ASM_M48T37_H - -#include <linux/spinlock.h> - -extern spinlock_t rtc_lock; - -struct m48t37_rtc { - volatile u8 pad[0x7ff0]; /* NVRAM */ - volatile u8 flags; - volatile u8 century; - volatile u8 alarm_sec; - volatile u8 alarm_min; - volatile u8 alarm_hour; - volatile u8 alarm_data; - volatile u8 interrupts; - volatile u8 watchdog; - volatile u8 control; - volatile u8 sec; - volatile u8 min; - volatile u8 hour; - volatile u8 day; - volatile u8 date; - volatile u8 month; - volatile u8 year; -}; - -#define M48T37_RTC_SET 0x80 -#define M48T37_RTC_STOPPED 0x80 -#define M48T37_RTC_READ 0x40 - -#endif /* _ASM_M48T37_H */ |