Re: [PATCH] CBUS: Fix retu-headset driver by not using removed input_dev->cdev field

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

 



* Jarkko Nikula <jarkko.nikula@xxxxxxxxx> [080217 23:38]:
> cdev field was removed recently so use input_dev->dev.parent instead when
> specifying device position in sysfs tree.
> 
> Signed-off-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxx>
> ---
>  drivers/cbus/retu-headset.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/cbus/retu-headset.c b/drivers/cbus/retu-headset.c
> index 3161658..f9de5cd 100644
> --- a/drivers/cbus/retu-headset.c
> +++ b/drivers/cbus/retu-headset.c
> @@ -231,7 +231,7 @@ static int __init retu_headset_probe(struct platform_device *pdev)
>  		goto err1;
>  	}
>  	hs->idev->name = "retu-headset";
> -	hs->idev->cdev.dev = &pdev->dev;
> +	hs->idev->dev.parent = &pdev->dev;
>  	hs->idev->private = hs;
>  	set_bit(EV_KEY, hs->idev->evbit);
>  	set_bit(RETU_HEADSET_KEY, hs->idev->keybit);

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