packages/Xorg/driver/xf86-input-tslib/patches/010-rename-tslibdevice-option-to-device.patch
lars e8d449eb38 Some stability and cleanup patches.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-01 16:14:02 +00:00

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) {