diff options
Diffstat (limited to 'src/void.c')
-rw-r--r-- | src/void.c | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -213,12 +213,16 @@ xf86VoidInit(InputDriverPtr drv, } _X_EXPORT InputDriverRec VOID = { - 1, /* driver version */ - "void", /* driver name */ - NULL, /* identify */ - xf86VoidInit, /* pre-init */ - xf86VoidUninit, /* un-init */ - NULL, /* module */ + .driverVersion = 1, + .driverName = "void", + .Identify = NULL, + .PreInit = xf86VoidInit, + .UnInit = xf86VoidUninit, + .module = NULL, + .default_options = NULL, +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 21 + .capabilities = 0 +#endif }; /* |