diff options
author | Jiri Kosina <jkosina@suse.cz> | 2012-01-09 11:24:59 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-01-09 11:24:59 +0100 |
commit | 420174afdc7023c000e5b5b1b6fe9e028470c713 (patch) | |
tree | a50385761d11bef88689c53317d52f431bab3f9a /include/linux/hid.h | |
parent | e0273728564a395a13cfed70e34da4f2613d2d44 (diff) | |
parent | 652aa6a9ac4a5f8d3e1fa3f6466646519e83c01e (diff) |
Merge branch 'hid-battery' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen into for-linus
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r-- | include/linux/hid.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 8ac51d6e81e0..3a95da60fd3e 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -495,7 +495,8 @@ struct hid_device { /* device report descriptor */ struct power_supply battery; __s32 battery_min; __s32 battery_max; - __s32 battery_val; + __s32 battery_report_type; + __s32 battery_report_id; #endif unsigned int status; /* see STAT flags above */ @@ -737,6 +738,8 @@ int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size); int hid_check_keys_pressed(struct hid_device *hid); int hid_connect(struct hid_device *hid, unsigned int connect_mask); void hid_disconnect(struct hid_device *hid); +const struct hid_device_id *hid_match_id(struct hid_device *hdev, + const struct hid_device_id *id); /** * hid_map_usage - map usage input bits |