Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322687
b: refs/heads/master
c: 6bd4a5d
h: refs/heads/master
i:
  322685: 4347a93
  322683: 9544901
  322679: e9d80ee
  322671: 82af0ec
  322655: 0351e48
  322623: 8b6359d
  322559: 0be7cf4
v: v3
  • Loading branch information
Dae S. Kim authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent 529f806 commit e3fdb54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aa209eef3ce8419ff2926c2fa944dfbfb5afbacb
refs/heads/master: 6bd4a5d96c08dc2380f8053b1bd4f879f55cd3c9
4 changes: 3 additions & 1 deletion trunk/drivers/staging/android/android_alarm.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ enum android_alarm_return_flags {
#define ANDROID_ALARM_WAIT _IO('a', 1)

#define ALARM_IOW(c, type, size) _IOW('a', (c) | ((type) << 4), size)
#define ALARM_IOR(c, type, size) _IOR('a', (c) | ((type) << 4), size)

/* Set alarm */
#define ANDROID_ALARM_SET(type) ALARM_IOW(2, type, struct timespec)
#define ANDROID_ALARM_SET_AND_WAIT(type) ALARM_IOW(3, type, struct timespec)
#define ANDROID_ALARM_GET_TIME(type) ALARM_IOW(4, type, struct timespec)
#define ANDROID_ALARM_GET_TIME(type) ALARM_IOR(4, type, struct timespec)
#define ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec)
#define ANDROID_ALARM_BASE_CMD(cmd) (cmd & ~(_IOC(0, 0, 0xf0, 0)))
#define ANDROID_ALARM_IOCTL_TO_TYPE(cmd) (_IOC_NR(cmd) >> 4)
Expand Down

0 comments on commit e3fdb54

Please sign in to comment.