diff options
Diffstat (limited to 'src/synaptics-x11.c')
-rw-r--r-- | src/synaptics-x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/synaptics-x11.c b/src/synaptics-x11.c index 890e4ff..3110ef0 100644 --- a/src/synaptics-x11.c +++ b/src/synaptics-x11.c @@ -394,7 +394,7 @@ DeviceOn(DeviceIntPtr dev) xf86FlushInput(pInfo->fd); /* reinit the pad */ - if (!SynapticsQueryHardware(priv)) { + if (!SynapticsQueryHardware(priv, priv->fd)) { xf86CloseSerial(pInfo->fd); pInfo->fd = -1; return !Success; @@ -750,7 +750,7 @@ SynapticsPreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags) priv->fd = pInfo->fd; /* read hardware dimensions */ - if (!SynapticsQueryHardware(priv)) { + if (!SynapticsQueryHardware(priv, priv->fd)) { xf86IDrvMsg(pInfo, MSG_ERROR, "Unable to query/initialize Synaptics hardware.\n"); goto SetupProc_fail; |