|
@@ -57,7 +57,7 @@ module_param_named(debug_mask, debug_mask, int, S_IRUGO | S_IWUSR | S_IWGRP);
|
|
|
ANDROID_ALARM_RTC_WAKEUP_MASK | \
|
|
|
ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP_MASK)
|
|
|
|
|
|
-/* support old usespace code */
|
|
|
+/* support old userspace code */
|
|
|
#define ANDROID_ALARM_SET_OLD _IOW('a', 2, time_t) /* set alarm */
|
|
|
#define ANDROID_ALARM_SET_AND_WAIT_OLD _IOW('a', 3, time_t)
|
|
|
|
|
@@ -543,7 +543,7 @@ static int __init alarm_late_init(void)
|
|
|
|
|
|
/* this needs to run after the rtc is read at boot */
|
|
|
spin_lock_irqsave(&alarm_slock, flags);
|
|
|
- /* We read the current rtc and system time so we can later calulate
|
|
|
+ /* We read the current rtc and system time so we can later calculate
|
|
|
* elasped realtime to be (boot_systemtime + rtc - boot_rtc) ==
|
|
|
* (rtc - (boot_rtc - boot_systemtime))
|
|
|
*/
|