summaryrefslogtreecommitdiffstats
path: root/include/linux/hid-sensor-ids.h
diff options
context:
space:
mode:
authorAlexander Holler <holler@ahsoftware.de>2012-12-09 12:44:30 +0100
committerJiri Kosina <jkosina@suse.cz>2012-12-12 16:49:10 +0100
commit83499b52c61f50292f0aae36499de8a8fc3e37c3 (patch)
treee9e64260fc9aa83cfc6c34bc5226c5252b84c68c /include/linux/hid-sensor-ids.h
parent1a1e8c6fada5f6dc48aa5dad453c9d9ebfdc8218 (diff)
downloadlinux-83499b52c61f50292f0aae36499de8a8fc3e37c3.tar.gz
linux-83499b52c61f50292f0aae36499de8a8fc3e37c3.tar.bz2
linux-83499b52c61f50292f0aae36499de8a8fc3e37c3.zip
HID: sensors: autodetect USB HID sensor hubs
It should not be necessary to add IDs for HID sensor hubs to lists in hid-core.c and hid-sensor-hub.c. So instead of a whitelist, autodetect such USB HID sensor hubs, based on a collection of type physical inside a useage page of type sensor. If some sensor hubs stil must be usable as raw devices, a blacklist might be created. Signed-off-by: Alexander Holler <holler@ahsoftware.de> Acked-by: "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid-sensor-ids.h')
-rw-r--r--include/linux/hid-sensor-ids.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/hid-sensor-ids.h b/include/linux/hid-sensor-ids.h
index ca8d7e94eb3c..55f277372fed 100644
--- a/include/linux/hid-sensor-ids.h
+++ b/include/linux/hid-sensor-ids.h
@@ -19,7 +19,6 @@
#ifndef _HID_SENSORS_IDS_H
#define _HID_SENSORS_IDS_H
-#define HID_UP_SENSOR 0x00200000
#define HID_MAX_PHY_DEVICES 0xFF
/* Accel 3D (200073) */