On Fri, Jan 20, 2012 at 08:32:45AM +0530, Sujit Reddy Thumma wrote:
> diff --git a/yaffs_vfs_multi.c b/yaffs_vfs_multi.c
> index b8e5124..2132ae3 100644
> --- a/yaffs_vfs_multi.c
> +++ b/yaffs_vfs_multi.c
> @@ -129,9 +129,9 @@
> #endif
>
> #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26))
> -#define Y_INIT_TIMER(a) init_timer(a)
> +#define Y_INIT_TIMER(a, b, c) setup_timer(a, b, c)
> #else
> -#define Y_INIT_TIMER(a) init_timer_on_stack(a)
> +#define Y_INIT_TIMER(a, b, c) setup_deferrable_timer_on_stack(a, b, c)
> #endif
setup_timer() was added in 2.6.15, so I'm not sure that this will
quite work as is.
David
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.