Re: [PATCH] Fix tsx210x touchscreen compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Kyungmin Park <kyungmin.park@xxxxxxxxxxx> [080305 10:08]:
> Update the imput device changes
> 
> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
> ---
> diff --git a/drivers/input/touchscreen/tsc210x_ts.c b/drivers/input/touchscreen/tsc210x_ts.c
> index 7bcee0e..5828b6d 100644
> --- a/drivers/input/touchscreen/tsc210x_ts.c
> +++ b/drivers/input/touchscreen/tsc210x_ts.c
> @@ -94,7 +94,7 @@ static int tsc210x_ts_probe(struct platform_device *pdev)
>  	}
>  
>  	dev->name = "TSC210x Touchscreen";
> -	dev->cdev.dev = &pdev->dev;
> +	dev->dev.parent = &pdev->dev;
>  	dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS);
>  	dev->keybit[BIT_WORD(BTN_TOUCH)] |= BIT_MASK(BTN_TOUCH);
>  	dev->absbit[0] = BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE);

Pushing today.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux