projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'gpio-fixes-for-v5.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git]
/
kernel
/
time
/
alarmtimer.c
diff --git
a/kernel/time/alarmtimer.c
b/kernel/time/alarmtimer.c
index
bea9d08
..
5897828
100644
(file)
--- a/
kernel/time/alarmtimer.c
+++ b/
kernel/time/alarmtimer.c
@@
-92,7
+92,7
@@
static int alarmtimer_rtc_add_device(struct device *dev,
if (rtcdev)
return -EBUSY;
- if (!
rtc->ops->set_alarm
)
+ if (!
test_bit(RTC_FEATURE_ALARM, rtc->features)
)
return -1;
if (!device_may_wakeup(rtc->dev.parent))
return -1;