• Andrew Morton's avatar
    ieee1394: sbp2: include fixes · f84c922b
    Andrew Morton authored
    drivers/ieee1394/sbp2.c: In function 'sbp2util_access_timeout':
    drivers/ieee1394/sbp2.c:399: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
    drivers/ieee1394/sbp2.c:399: error: (Each undeclared identifier is reported only once
    drivers/ieee1394/sbp2.c:399: error: for each function it appears in.)
    drivers/ieee1394/sbp2.c:399: warning: implicit declaration of function 'signal_pending'
    drivers/ieee1394/sbp2.c:399: warning: implicit declaration of function 'schedule_timeout'
    drivers/ieee1394/sbp2.c: In function 'sbp2_prep_command_orb_sg':
    drivers/ieee1394/sbp2.c:1438: warning: implicit declaration of function 'page_address'
    drivers/ieee1394/sbp2.c:1438: warning: passing argument 2 of 'dma_map_single' makes pointer from integer without a cast
    drivers/ieee1394/sbp2.c: In function 'sbp2_handle_status_write':
    drivers/ieee1394/sbp2.c:1842: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
    
    Possibly due to changes in -mm, but this file should explicitly include the
    headers for the stuff it uses.
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (brought into alphabetic order)
    f84c922b
sbp2.c 63 KB