summaryrefslogtreecommitdiff
path: root/src/evdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/evdev.c')
-rw-r--r--src/evdev.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 42bc9df..94cb619 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -267,12 +267,6 @@ EvdevReadInput(InputInfoPtr pInfo)
}
}
-static void
-EvdevSigioReadInput (int fd, void *data)
-{
- EvdevReadInput ((InputInfoPtr) data);
-}
-
static int
EvdevProc(DeviceIntPtr device, int what)
{
@@ -315,8 +309,8 @@ EvdevProc(DeviceIntPtr device, int what)
xf86Msg(X_ERROR, "%s: Unable to grab device (%s).\n", pInfo->name, strerror(errno));
xf86FlushInput (pInfo->fd);
- if (!xf86InstallSIGIOHandler (pInfo->fd, EvdevSigioReadInput, pInfo))
- AddEnabledDevice (pInfo->fd);
+
+ xf86AddEnabledDevice(pInfo);
device->public.on = TRUE;