treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / sparc / include / asm / mc146818rtc.h
blob07faf754eb71f4676cfa26ea8e9399904b28bf8b
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ___ASM_SPARC_MC146818RTC_H
3 #define ___ASM_SPARC_MC146818RTC_H
5 #include <linux/spinlock.h>
7 extern spinlock_t rtc_lock;
9 #if defined(__sparc__) && defined(__arch64__)
10 #include <asm/mc146818rtc_64.h>
11 #else
12 #include <asm/mc146818rtc_32.h>
13 #endif
14 #endif