• Greg Ungerer's avatar
    m68knommu: include sched.h in ColdFire/SPI driver · 5e1c5335
    Greg Ungerer authored
    Using the coldfire qspi driver, I get the following error:
    
    drivers/spi/coldfire_qspi.c: In function 'mcfqspi_irq_handler':
    drivers/spi/coldfire_qspi.c:166: error: 'TASK_NORMAL' undeclared (first use in this function)
    drivers/spi/coldfire_qspi.c:166: error: (Each undeclared identifier is reported only once
    
    It is solved by adding the following include to coldfire_sqpi.c:
    
        #include <linux/sched.h>
    
    Fix suggested by Jate Sujjavanich <jsujjavanich@syntech-fuelmaster.com>
    Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
    5e1c5335
coldfire_qspi.c 16.2 KB