mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
Remove direct call to DEVICE_INIT, ActivateDevice() takes care of that.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user