From: Greg Ungerer Date: Wed, 28 Jul 2010 03:32:46 +0000 (+1000) Subject: m68knommu: include sched.h in ColdFire/SPI driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5e1c53356d79591b10cdea12e3d5ebace8e7b6fa;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Fix suggested by Jate Sujjavanich Signed-off-by: Greg Ungerer --- diff --git a/drivers/spi/coldfire_qspi.c b/drivers/spi/coldfire_qspi.c index 59be3efe0636..052b3c7fa6a0 100644 --- a/drivers/spi/coldfire_qspi.c +++ b/drivers/spi/coldfire_qspi.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include