diff options
-rw-r--r-- | drivers/hid/hid-input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index d97f2323af57..d50e7313b171 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c | |||
@@ -1279,7 +1279,7 @@ static struct hid_input *hidinput_allocate(struct hid_device *hid) | |||
1279 | input_dev->id.vendor = hid->vendor; | 1279 | input_dev->id.vendor = hid->vendor; |
1280 | input_dev->id.product = hid->product; | 1280 | input_dev->id.product = hid->product; |
1281 | input_dev->id.version = hid->version; | 1281 | input_dev->id.version = hid->version; |
1282 | input_dev->dev.parent = hid->dev.parent; | 1282 | input_dev->dev.parent = &hid->dev; |
1283 | hidinput->input = input_dev; | 1283 | hidinput->input = input_dev; |
1284 | list_add_tail(&hidinput->list, &hid->inputs); | 1284 | list_add_tail(&hidinput->list, &hid->inputs); |
1285 | 1285 | ||