diff options
-rw-r--r-- | src/psmcomm.c | 4 |
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) |