aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorVipul Kumar Samar <vipulkumar.samar@st.com>2012-11-23 02:42:12 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-23 02:47:09 -0500
commit037db524a2015607031c70a7935153120601b908 (patch)
tree82387672d07b8fb9d1fcd0098692256de20895cd /drivers/mfd
parentedbe265d245b0fe05c43e96e52554dacae5dcc70 (diff)
Input: stmpe-ts - add DT support for stmpe touchscreen
This patch allows the STMPE Touchscreen driver to be successfully probed and initialised when Device Tree support is enabled. Bindings are mentioned in Documentation too. Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/stmpe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c
index c94f521f392c..55c7b9531ad4 100644
--- a/drivers/mfd/stmpe.c
+++ b/drivers/mfd/stmpe.c
@@ -411,6 +411,7 @@ static struct resource stmpe_ts_resources[] = {
411 411
412static struct mfd_cell stmpe_ts_cell = { 412static struct mfd_cell stmpe_ts_cell = {
413 .name = "stmpe-ts", 413 .name = "stmpe-ts",
414 .of_compatible = "st,stmpe-ts",
414 .resources = stmpe_ts_resources, 415 .resources = stmpe_ts_resources,
415 .num_resources = ARRAY_SIZE(stmpe_ts_resources), 416 .num_resources = ARRAY_SIZE(stmpe_ts_resources),
416}; 417};