X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;ds=sidebyside;f=include%2Flinux%2Fhid-sensor-hub.h;h=0042bf330b99ffa6edd77677529753bdd00b79d4;hb=c09b5cbd0d88317785de87bcdfe4052f9785c473;hp=0408421d885f9433c61149e2769bdd3c08192522;hpb=af6472881a6127ad075adf64e459d2905fbc8a5c;p=cascardo%2Flinux.git diff --git a/include/linux/hid-sensor-hub.h b/include/linux/hid-sensor-hub.h index 0408421d885f..0042bf330b99 100644 --- a/include/linux/hid-sensor-hub.h +++ b/include/linux/hid-sensor-hub.h @@ -74,7 +74,7 @@ struct sensor_hub_pending { * @usage: Usage id for this hub device instance. * @start_collection_index: Starting index for a phy type collection * @end_collection_index: Last index for a phy type collection - * @mutex: synchronizing mutex. + * @mutex_ptr: synchronizing mutex pointer. * @pending: Holds information of pending sync read request. */ struct hid_sensor_hub_device { @@ -84,7 +84,7 @@ struct hid_sensor_hub_device { u32 usage; int start_collection_index; int end_collection_index; - struct mutex mutex; + struct mutex *mutex_ptr; struct sensor_hub_pending pending; };