summaryrefslogtreecommitdiff
path: root/drivers/input/rmi4/rmi_driver.h
diff options
context:
space:
mode:
authorNick Dyer <nick@shmanahar.org>2017-01-31 15:44:49 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-01-31 15:51:22 -0800
commitce363f0dec73b8ec2209a02a7271a9e67ed61368 (patch)
tree72feb59584d1744b884b013abc8ab9d29e575d5f /drivers/input/rmi4/rmi_driver.h
parent5a89916df2c8d2635b82a457cd4945dd73c1de3c (diff)
Input: synaptics-rmi4 - add sysfs interfaces for hardware IDs
These attributes provide various bits of information which may be enumerated under the RMI4 protocol to user space. This may be useful for displaying the particular version which is in use, or selecting the correct firmware to flash. Signed-off-by: Nick Dyer <nick@shmanahar.org> Tested-by: Chris Healy <cphealy@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/rmi4/rmi_driver.h')
-rw-r--r--drivers/input/rmi4/rmi_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/rmi4/rmi_driver.h b/drivers/input/rmi4/rmi_driver.h
index 24f8f764d171..a480333a9e1c 100644
--- a/drivers/input/rmi4/rmi_driver.h
+++ b/drivers/input/rmi4/rmi_driver.h
@@ -104,7 +104,7 @@ int rmi_init_functions(struct rmi_driver_data *data);
int rmi_initial_reset(struct rmi_device *rmi_dev, void *ctx,
const struct pdt_entry *pdt);
-char *rmi_f01_get_product_ID(struct rmi_function *fn);
+const char *rmi_f01_get_product_ID(struct rmi_function *fn);
#ifdef CONFIG_RMI4_F34
int rmi_f34_create_sysfs(struct rmi_device *rmi_dev);