Re: [PATCH] mfd: ti-ssp: Fix build
From: Samuel Ortiz
Date: Mon Nov 18 2013 - 04:29:27 EST
Hi Geert,
On Sun, Nov 17, 2013 at 07:53:55PM +0100, Geert Uytterhoeven wrote:
> drivers/mfd/ti-ssp.c: In function 'ti_ssp_run':
> drivers/mfd/ti-ssp.c:286:2: error: implicit declaration of function 'set_current_state' [-Werror=implicit-function-declaration]
> drivers/mfd/ti-ssp.c:286:381: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
> drivers/mfd/ti-ssp.c:286:381: note: each undeclared identifier is reported only once for each function it appears in
> drivers/mfd/ti-ssp.c:286:2: error: implicit declaration of function 'signal_pending' [-Werror=implicit-function-declaration]
> drivers/mfd/ti-ssp.c:286:2: error: implicit declaration of function 'schedule' [-Werror=implicit-function-declaration]
> drivers/mfd/ti-ssp.c:286:2: error: implicit declaration of function '__set_current_state' [-Werror=implicit-function-declaration]
> drivers/mfd/ti-ssp.c:286:742: error: 'TASK_RUNNING' undeclared (first use in this function)
> drivers/mfd/ti-ssp.c: In function 'ti_ssp_interrupt':
> drivers/mfd/ti-ssp.c:311:32: error: 'TASK_NORMAL' undeclared (first use in this function)
>
> Add missing #include <linux/sched.h>.
>
> drivers/mfd/ti-ssp.c: In function 'ti_ssp_probe':
> drivers/mfd/ti-ssp.c:412:12: error: 'struct mfd_cell' has no member named 'data_size'
>
Applied to mfd-fixes, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/