aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2011-12-02 14:12:36 -0500
committerJeremy Fitzhardinge <jeremy@goop.org>2012-01-08 02:30:37 -0500
commitbbc21cfd55858d7c3e55bfaa91fa934b0b13ad4d (patch)
tree8b0495e337bd64c8677c218d01bb3cc2e6211663 /include/linux/hid.h
parentef5251993c3597a88b893fe22ee830092dff35f9 (diff)
hid-input/battery: add quirks for battery
Some devices always report percentage, despite having 0/255 as their min/max, so add a quirk for them. Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index b5df198d87a5..fa772c86fa2c 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -735,6 +735,8 @@ int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size);
735int hid_check_keys_pressed(struct hid_device *hid); 735int hid_check_keys_pressed(struct hid_device *hid);
736int hid_connect(struct hid_device *hid, unsigned int connect_mask); 736int hid_connect(struct hid_device *hid, unsigned int connect_mask);
737void hid_disconnect(struct hid_device *hid); 737void hid_disconnect(struct hid_device *hid);
738const struct hid_device_id *hid_match_id(struct hid_device *hdev,
739 const struct hid_device_id *id);
738 740
739/** 741/**
740 * hid_map_usage - map usage input bits 742 * hid_map_usage - map usage input bits