e8d449eb38
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14341 3c298f89-4303-0410-b956-a3cf2f4a3e73
30 lines
763 B
Diff
30 lines
763 B
Diff
commit fe65976e2f006643950e70d33684b91c33a87e3a
|
|
Author: Lars-Peter Clausen <lars@metafoo.de>
|
|
Date: Sun Feb 1 16:42:27 2009 +0100
|
|
|
|
Rename "TslibDevice" option to "Device" to be more consistant with other
|
|
drivers.
|
|
|
|
diff --git a/src/tslib.c b/src/tslib.c
|
|
index edc14b2..e91a949 100644
|
|
--- a/src/tslib.c
|
|
+++ b/src/tslib.c
|
|
@@ -73,7 +73,7 @@ struct ts_priv {
|
|
};
|
|
|
|
static const char *DEFAULTS[] = {
|
|
- "TslibDevice", "/dev/event0",
|
|
+ "Device", "/dev/event0",
|
|
NULL
|
|
};
|
|
|
|
@@ -334,7 +334,7 @@ xf86TslibInit(InputDriverPtr drv, IDevPtr dev, int flags)
|
|
priv->rotate = TSLIB_ROTATE_NONE;
|
|
}
|
|
|
|
- s = xf86SetStrOption(pInfo->options, "TslibDevice", NULL);
|
|
+ s = xf86SetStrOption(pInfo->options, "Device", NULL);
|
|
|
|
priv->ts = ts_open(s, 0);
|
|
if (!priv->ts) {
|