From 9644a4afbfd8ac4cb51facf0409f73f55743d8a3 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 19 Apr 2007 15:40:25 +0930 Subject: Remove direct call to DEVICE_INIT, ActivateDevice() takes care of that. --- src/evdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index b9f7303..f506997 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -334,8 +334,7 @@ EvdevNew(evdevDriverPtr driver, evdevDevicePtr device) if (driver->configured) { xf86ActivateDevice (pInfo); - - pInfo->dev->inited = (device->callback(device->pInfo->dev, DEVICE_INIT) == Success); + pInfo->dev->inited = (ActivateDevice(pInfo->dev) == Success); ActivateDevice(pInfo->dev); EnableDevice (pInfo->dev); } -- cgit v1.2.1