CRIS: Fasttimer: Remove obsolete ifdef
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
This commit is contained in:
parent
5866d7ef95
commit
d77eab8cb1
@ -467,11 +467,7 @@ timer1_handler(int irq, void *dev_id)
|
|||||||
|
|
||||||
static void wake_up_func(unsigned long data)
|
static void wake_up_func(unsigned long data)
|
||||||
{
|
{
|
||||||
#ifdef DECLARE_WAITQUEUE
|
wait_queue_head_t *sleep_wait_p = (wait_queue_head_t *)data;
|
||||||
wait_queue_head_t *sleep_wait_p = (wait_queue_head_t*)data;
|
|
||||||
#else
|
|
||||||
struct wait_queue **sleep_wait_p = (struct wait_queue **)data;
|
|
||||||
#endif
|
|
||||||
wake_up(sleep_wait_p);
|
wake_up(sleep_wait_p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user