xorg-server: Fix linkage
[openwrt/svn-archive/archive.git] / Xorg / driver / xf86-input-tslib / patches / 010-rename-tslibdevice-option-to-device.patch
1 commit fe65976e2f006643950e70d33684b91c33a87e3a
2 Author: Lars-Peter Clausen <lars@metafoo.de>
3 Date: Sun Feb 1 16:42:27 2009 +0100
4
5 Rename "TslibDevice" option to "Device" to be more consistant with other
6 drivers.
7
8 diff --git a/src/tslib.c b/src/tslib.c
9 index edc14b2..e91a949 100644
10 --- a/src/tslib.c
11 +++ b/src/tslib.c
12 @@ -73,7 +73,7 @@ struct ts_priv {
13 };
14
15 static const char *DEFAULTS[] = {
16 - "TslibDevice", "/dev/event0",
17 + "Device", "/dev/event0",
18 NULL
19 };
20
21 @@ -334,7 +334,7 @@ xf86TslibInit(InputDriverPtr drv, IDevPtr dev, int flags)
22 priv->rotate = TSLIB_ROTATE_NONE;
23 }
24
25 - s = xf86SetStrOption(pInfo->options, "TslibDevice", NULL);
26 + s = xf86SetStrOption(pInfo->options, "Device", NULL);
27
28 priv->ts = ts_open(s, 0);
29 if (!priv->ts) {