• Amit Kucheria's avatar
    w1: fix omap 1-wire driver compilation · 81fa08f2
    Amit Kucheria authored
    Fixes the following error:
    
      drivers/w1/masters/omap_hdq.c: In function 'hdq_wait_for_flag':
      drivers/w1/masters/omap_hdq.c:137: error: implicit declaration of function 'schedule_timeout_uninterruptible'
      drivers/w1/masters/omap_hdq.c: In function 'hdq_write_byte':
      drivers/w1/masters/omap_hdq.c:177: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
      drivers/w1/masters/omap_hdq.c:177: error: (Each undeclared identifier is reported only once
      drivers/w1/masters/omap_hdq.c:177: error: for each function it appears in.)
      drivers/w1/masters/omap_hdq.c:177: error: implicit declaration of function 'schedule_timeout'
      drivers/w1/masters/omap_hdq.c: In function 'hdq_isr':
      drivers/w1/masters/omap_hdq.c:221: error: 'TASK_NORMAL' undeclared (first use in this function)
      drivers/w1/masters/omap_hdq.c: In function 'omap_hdq_break':
      drivers/w1/masters/omap_hdq.c:316: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
    Signed-off-by: default avatarAmit Kucheria <amit.kucheria@canonical.com>
    Acked-by: default avatarTony Lindgren <tony@atomide.com>
    Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    81fa08f2
omap_hdq.c 17.8 KB