From fefb3b63c589b0758c02777e652f05e537ba663f Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Fri, 25 Feb 2011 20:41:12 +0100 Subject: Fix build on BSD local was renamed to pInfo in 81ad2e389d11691d5c2687d83150e8e9033cfe76, but a couple places were missed. Signed-off-by: Julien Cristau Signed-off-by: Peter Hutterer --- src/psmcomm.c | 4 ++-- 1 file 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) -- cgit v1.2.3