Re: [PATCH]: Workqueue changes for board-h3

Komal Shah
2006-12-28T14:48:44Z

On 12/28/06, Ragner N Magalhães <ragner@users.sourceforge.net> wrote:
> ---------- Forwarded message ----------
> From: Felipe Balbi <felipe.lima@indt.org.br>
> Date: Dec 28, 2006 9:28 AM
> Subject: [PATCH]: Workqueue changes for board-h3
> To: ragner.magalhaes@gmail.com
>
> Hello all,
>
>
> This patch fixes an error regarding workqueue changes on board-h3 file.]
>
>
>
> =================== CUT HERE ==========================
> Fixes a compile issue when using CONFIG_MACH_OMAP_H3 regarding workqueues.
>
> Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br>
> ---
>
> Index: linux-omap-2.6-dev/arch/arm/mach-omap1/board-h3.c
> ===================================================================
> --- linux-omap-2.6-dev.orig/arch/arm/mach-omap1/board-h3.c
> +++ linux-omap-2.6-dev/arch/arm/mach-omap1/board-h3.c
> @@ -298,5 +298,5 @@ static int h3_select_irda(struct device
>
> -static void set_trans_mode(void *data)
> +static void set_trans_mode(struct work_struct *data)
> {
> - int *mode = data;
> + int *mode = (int *)data;

Did you tested this patch.? I am not sure this casting is the correct
way to go for it.

--
---Komal Shah