summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2011-02-25 20:41:12 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2011-02-28 11:17:59 +1000
commitfefb3b63c589b0758c02777e652f05e537ba663f (patch)
treeb8b39f69d347caaf07a081f6848925eb2c5eeb5d
parent8ec84d1850fe801fa9a123ae70e09821a4358389 (diff)
Fix build on BSD
local was renamed to pInfo in 81ad2e389d11691d5c2687d83150e8e9033cfe76, but a couple places were missed. Signed-off-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/psmcomm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/psmcomm.c b/src/psmcomm.c
index 66e8d1e..741cd1d 100644
--- a/src/psmcomm.c
+++ b/src/psmcomm.c
@@ -147,7 +147,7 @@ PSMQueryHardware(InputInfoPtr pInfo)
synhw = (struct SynapticsHwInfo*)priv->proto_data;
/* is the synaptics touchpad active? */
- if (!PSMQueryIsSynaptics(local))
+ if (!PSMQueryIsSynaptics(pInfo))
return FALSE;
xf86Msg(X_PROBED, "%s synaptics touchpad found\n", pInfo->name);
@@ -167,7 +167,7 @@ PSMReadHwState(InputInfoPtr pInfo,
struct SynapticsProtocolOperations *proto_ops,
struct CommData *comm, struct SynapticsHwState *hwRet)
{
- return psaux_proto_operations.ReadHwState(local, proto_ops, comm, hwRet);
+ return psaux_proto_operations.ReadHwState(pInfo, proto_ops, comm, hwRet);
}
static Bool PSMAutoDevProbe(InputInfoPtr pInfo)