* [PATCH] fix migor_ts dependency and compile warning
@ 2008-05-15 11:38 Magnus Damm
2008-05-15 12:38 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2008-05-15 11:38 UTC (permalink / raw)
To: linux-input; +Cc: Magnus Damm, dmitry.torokhov
This patch adds I2C dependencies to the MigoR touchscreen driver,
and while at it kills off a compile warning.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
---
Applies to the git input tree b92b4853a19498f17ae802b382e3deee8cb01bc8.
drivers/input/touchscreen/Kconfig | 2 +-
drivers/input/touchscreen/migor_ts.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
--- 0001/drivers/input/touchscreen/Kconfig
+++ work/drivers/input/touchscreen/Kconfig 2008-05-15 19:42:16.000000000 +0900
@@ -148,7 +148,7 @@ config TOUCHSCREEN_PENMOUNT
config TOUCHSCREEN_MIGOR
tristate "Renesas MIGO-R touchscreen"
- depends on SH_MIGOR
+ depends on SH_MIGOR && I2C
help
Say Y here to enable MIGO-R touchscreen support.
--- 0001/drivers/input/touchscreen/migor_ts.c
+++ work/drivers/input/touchscreen/migor_ts.c 2008-05-15 19:41:37.000000000 +0900
@@ -144,7 +144,8 @@ static void migor_ts_close(struct input_
enable_irq(priv->irq);
}
-static int migor_ts_probe(struct i2c_client *client)
+static int migor_ts_probe(struct i2c_client *client,
+ const struct i2c_device_id *idp)
{
struct migor_ts_priv *priv;
struct input_dev *input;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-15 12:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15 11:38 [PATCH] fix migor_ts dependency and compile warning Magnus Damm
2008-05-15 12:38 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).