diff options
-rw-r--r-- | include/linux/hiddev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hiddev.h b/include/linux/hiddev.h index 7a9ba2944127..c760ae0eb6a1 100644 --- a/include/linux/hiddev.h +++ b/include/linux/hiddev.h | |||
@@ -193,6 +193,8 @@ struct hiddev_usage_ref_multi { | |||
193 | * finfo.field_index = i; | 193 | * finfo.field_index = i; |
194 | * ioctl(fd, HIDIOCGFIELDINFO, &finfo); | 194 | * ioctl(fd, HIDIOCGFIELDINFO, &finfo); |
195 | * for (j = 0; j < finfo.maxusage; j++) { | 195 | * for (j = 0; j < finfo.maxusage; j++) { |
196 | * uref.report_type = rinfo.report_type; | ||
197 | * uref.report_id = rinfo.report_id; | ||
196 | * uref.field_index = i; | 198 | * uref.field_index = i; |
197 | * uref.usage_index = j; | 199 | * uref.usage_index = j; |
198 | * ioctl(fd, HIDIOCGUCODE, &uref); | 200 | * ioctl(fd, HIDIOCGUCODE, &uref); |