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); -- 1.5.3.8 - 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