Input: elan_i2c - export the device id whitelist
authorJeffrey Hugo <jeffrey.l.hugo@gmail.com>
Sun, 30 Jun 2019 07:14:52 +0000 (00:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 30 Jun 2019 07:18:13 +0000 (00:18 -0700)
commit0828c1001399d5c5fcab547ef7b0a29c78d4bdf6
tree354185f6ffb5282bd8b1759347616fc42889899f
parent1b9c698c41c947f8adf2febcbc1df122cb3d09da
Input: elan_i2c - export the device id whitelist

Elan_i2c and hid-quirks work in conjunction to decide which devices each
driver will handle.  Elan_i2c has a whitelist of devices that should be
consumed by hid-quirks so that there is one master list of devices to
handoff between the drivers.  Put the ids in a header file so that
hid-quirks can consume it instead of duplicating the list.

Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elan_i2c_core.c
include/linux/input/elan-i2c-ids.h [new file with mode: 0644]