]>
git.hungrycats.org Git - linux/commit
[PATCH] Patch - sharing RTC timer between kernel and user space (2nd)
This patch to allow using of RTC timer inside the kernel space. We can
use the RTC timer as timing source for ALSA sequencer. Patch by Takashi.
The patch adds these three functions and one structure to rtc.h and
rtc.c:
typedef struct rtc_task {
void (*func)(void *private_data);
void *private_data;
} rtc_task_t;
int rtc_register(rtc_task_t *task);
int rtc_unregister(rtc_task_t *task);
int rtc_control(rtc_task_t *t, unsigned int cmd, unsigned long arg);
Jaroslav