android_kernel_xiaomi_sm8350/drivers/spi
Greg Ungerer 5e1c53356d m68knommu: include sched.h in ColdFire/SPI driver
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: Greg Ungerer <gerg@uclinux.org>
2010-08-18 12:44:31 +10:00
..
amba-pl022.c
atmel_spi.c
atmel_spi.h
au1550_spi.c
coldfire_qspi.c m68knommu: include sched.h in ColdFire/SPI driver 2010-08-18 12:44:31 +10:00
davinci_spi.c
dw_spi_mmio.c
dw_spi_pci.c
dw_spi.c
ep93xx_spi.c
Kconfig
Makefile
mpc52xx_psc_spi.c
mpc52xx_spi.c
mpc512x_psc_spi.c
omap2_mcspi.c
omap_spi_100k.c
omap_uwire.c
orion_spi.c
pxa2xx_spi.c
spi_bfin5xx.c
spi_bitbang_txrx.h
spi_bitbang.c
spi_butterfly.c
spi_gpio.c
spi_imx.c
spi_lm70llp.c
spi_mpc8xxx.c
spi_nuc900.c
spi_ppc4xx.c
spi_s3c24xx_fiq.h
spi_s3c24xx_fiq.S
spi_s3c24xx_gpio.c
spi_s3c24xx.c
spi_s3c64xx.c
spi_sh_msiof.c
spi_sh_sci.c
spi_stmp.c
spi_txx9.c
spi.c
spidev.c
tle62x0.c
xilinx_spi_of.c
xilinx_spi_pltfm.c
xilinx_spi.c
xilinx_spi.h