X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fhid%2Fhid-sensor-hub.c;h=8fab82829f8b11321f957059837e8f50feb71828;hb=910a9f5636f5c128c02bf9ccd71ac03325700b57;hp=d87f7cb4bee5af2b6c9d08dc02630c08f0f69cfb;hpb=78fd82238d0e5716578c326404184a27ba67fd6e;p=~andy%2Flinux diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c index d87f7cb4bee..8fab82829f8 100644 --- a/drivers/hid/hid-sensor-hub.c +++ b/drivers/hid/hid-sensor-hub.c @@ -568,6 +568,8 @@ static int sensor_hub_probe(struct hid_device *hdev, ret = -ENOMEM; goto err_free_names; } + sd->hid_sensor_hub_client_devs[ + sd->hid_sensor_client_cnt].id = PLATFORM_DEVID_AUTO; sd->hid_sensor_hub_client_devs[ sd->hid_sensor_client_cnt].name = name; sd->hid_sensor_hub_client_devs[