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

Commit 2b3e5023 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: Swarm: Fix typo in symbol name: RTC_M4LT81 -> RTC_M41T81

parent a4851d8f
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -82,7 +82,7 @@ int swarm_be_handler(struct pt_regs *regs, int is_fixup)
enum swarm_rtc_type {
enum swarm_rtc_type {
	RTC_NONE,
	RTC_NONE,
	RTC_XICOR,
	RTC_XICOR,
	RTC_M4LT81
	RTC_M41T81,
};
};


enum swarm_rtc_type swarm_rtc_type;
enum swarm_rtc_type swarm_rtc_type;
@@ -96,7 +96,7 @@ void read_persistent_clock(struct timespec *ts)
		sec = xicor_get_time();
		sec = xicor_get_time();
		break;
		break;


	case RTC_M4LT81:
	case RTC_M41T81:
		sec = m41t81_get_time();
		sec = m41t81_get_time();
		break;
		break;


@@ -115,7 +115,7 @@ int rtc_mips_set_time(unsigned long sec)
	case RTC_XICOR:
	case RTC_XICOR:
		return xicor_set_time(sec);
		return xicor_set_time(sec);


	case RTC_M4LT81:
	case RTC_M41T81:
		return m41t81_set_time(sec);
		return m41t81_set_time(sec);


	case RTC_NONE:
	case RTC_NONE:
@@ -141,7 +141,7 @@ void __init plat_mem_setup(void)
	if (xicor_probe())
	if (xicor_probe())
		swarm_rtc_type = RTC_XICOR;
		swarm_rtc_type = RTC_XICOR;
	if (m41t81_probe())
	if (m41t81_probe())
		swarm_rtc_type = RTC_M4LT81;
		swarm_rtc_type = RTC_M41T81;


#ifdef CONFIG_VT
#ifdef CONFIG_VT
	screen_info = (struct screen_info) {
	screen_info = (struct screen_info) {