summaryrefslogtreecommitdiff
path: root/src/psmcomm.c
diff options
context:
space:
mode:
authorAlexandr Shadchin <alexandr.shadchin@gmail.com>2011-02-28 16:38:26 +0500
committerPeter Hutterer <peter.hutterer@who-t.net>2011-03-01 11:55:35 +1000
commit00abf2c63cf1613c3a65d561582e9fd8abc2f34a (patch)
tree4c7e6b7c14f820afee102478e2f280997bc8dc84 /src/psmcomm.c
parent8e6d67243375539f417f7a19e349c6546ce3be64 (diff)
Remove arg proto_ops in ReadHwState()
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/psmcomm.c')
-rw-r--r--src/psmcomm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/psmcomm.c b/src/psmcomm.c
index 596db48..eec240c 100644
--- a/src/psmcomm.c
+++ b/src/psmcomm.c
@@ -157,10 +157,9 @@ PSMQueryHardware(InputInfoPtr pInfo)
static Bool
PSMReadHwState(InputInfoPtr pInfo,
- struct SynapticsProtocolOperations *proto_ops,
struct CommData *comm, struct SynapticsHwState *hwRet)
{
- return psaux_proto_operations.ReadHwState(pInfo, proto_ops, comm, hwRet);
+ return PS2ReadHwStateProto(pInfo, &psm_proto_operations, comm, hwRet);
}
static Bool PSMAutoDevProbe(InputInfoPtr pInfo)