15 Sep, 2011

1 commit

  • Include linux/sched.h to fix below build error.

    CC drivers/rtc/rtc-imxdi.o
    drivers/rtc/rtc-imxdi.c: In function 'di_write_wait':
    drivers/rtc/rtc-imxdi.c:168: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
    drivers/rtc/rtc-imxdi.c:168: error: (Each undeclared identifier is reported only once
    drivers/rtc/rtc-imxdi.c:168: error: for each function it appears in.)
    drivers/rtc/rtc-imxdi.c:168: error: implicit declaration of function 'signal_pending'
    drivers/rtc/rtc-imxdi.c:168: error: implicit declaration of function 'schedule_timeout'
    drivers/rtc/rtc-imxdi.c: In function 'dryice_norm_irq':
    drivers/rtc/rtc-imxdi.c:329: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)

    Signed-off-by: Axel Lin
    Cc: Baruch Siach
    Cc: Wan ZongShun
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Axel Lin
     

11 Aug, 2010

1 commit