summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/cyttsp_core.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2021-07-04 23:05:31 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-07-04 23:05:31 -0700
commit818b26588994d9d95743fca0a427f08ec6c1c41d (patch)
tree870d9abed0e43b82257350a93e6517816815cd6c /drivers/input/touchscreen/cyttsp_core.h
parent45a4b68354ffccbc9ca71027bd34754ca24f5183 (diff)
parentf8f84af5da9ee04ef1d271528656dac42a090d00 (diff)
Merge branch 'next' into for-linus
Prepare input updates for 5.14 merge window.
Diffstat (limited to 'drivers/input/touchscreen/cyttsp_core.h')
-rw-r--r--drivers/input/touchscreen/cyttsp_core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/cyttsp_core.h b/drivers/input/touchscreen/cyttsp_core.h
index 9bc4fe7e6ac5..075509e695a2 100644
--- a/drivers/input/touchscreen/cyttsp_core.h
+++ b/drivers/input/touchscreen/cyttsp_core.h
@@ -22,7 +22,7 @@
#include <linux/module.h>
#include <linux/types.h>
#include <linux/device.h>
-#include <linux/input/cyttsp.h>
+#include <linux/regulator/consumer.h>
#define CY_NUM_RETRY 16 /* max number of retries for read ops */
@@ -122,6 +122,7 @@ struct cyttsp {
enum cyttsp_state state;
bool suspended;
+ struct regulator_bulk_data regulators[2];
struct gpio_desc *reset_gpio;
bool use_hndshk;
u8 act_dist;