mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] ... and more work_struct-induced breakage (mips)
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
4927b3f74c
commit
91c7c56855
2 changed files with 13 additions and 5 deletions
|
|
@ -215,8 +215,15 @@ m41t00_set(void *arg)
|
|||
}
|
||||
|
||||
static ulong new_time;
|
||||
/* well, isn't this API just _lovely_? */
|
||||
static void
|
||||
m41t00_barf(struct work_struct *unusable)
|
||||
{
|
||||
m41t00_set(&new_time);
|
||||
}
|
||||
|
||||
static struct workqueue_struct *m41t00_wq;
|
||||
static DECLARE_WORK(m41t00_work, m41t00_set, &new_time);
|
||||
static DECLARE_WORK(m41t00_work, m41t00_barf);
|
||||
|
||||
int
|
||||
m41t00_set_rtc_time(ulong nowtime)
|
||||
|
|
|
|||
Loading…
Reference in a new issue