aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2012-01-09 05:24:59 -0500
committerJiri Kosina <jkosina@suse.cz>2012-01-09 05:24:59 -0500
commit420174afdc7023c000e5b5b1b6fe9e028470c713 (patch)
treea50385761d11bef88689c53317d52f431bab3f9a /include
parente0273728564a395a13cfed70e34da4f2613d2d44 (diff)
parent652aa6a9ac4a5f8d3e1fa3f6466646519e83c01e (diff)
Merge branch 'hid-battery' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen into for-linus
Diffstat (limited to 'include')
-rw-r--r--include/linux/hid.h5
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 */
495 struct power_supply battery; 495 struct power_supply battery;
496 __s32 battery_min; 496 __s32 battery_min;
497 __s32 battery_max; 497 __s32 battery_max;
498 __s32 battery_val; 498 __s32 battery_report_type;
499 __s32 battery_report_id;
499#endif 500#endif
500 501
501 unsigned int status; /* see STAT flags above */ 502 unsigned int status; /* see STAT flags above */
@@ -737,6 +738,8 @@ int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size);
737int hid_check_keys_pressed(struct hid_device *hid); 738int hid_check_keys_pressed(struct hid_device *hid);
738int hid_connect(struct hid_device *hid, unsigned int connect_mask); 739int hid_connect(struct hid_device *hid, unsigned int connect_mask);
739void hid_disconnect(struct hid_device *hid); 740void hid_disconnect(struct hid_device *hid);
741const struct hid_device_id *hid_match_id(struct hid_device *hdev,
742 const struct hid_device_id *id);
740 743
741/** 744/**
742 * hid_map_usage - map usage input bits 745 * hid_map_usage - map usage input bits