diff --git a/hw/xfree86/shadowfb/sfbmodule.c b/hw/xfree86/shadowfb/sfbmodule.c index c20efc071..62c183f60 100644 --- a/hw/xfree86/shadowfb/sfbmodule.c +++ b/hw/xfree86/shadowfb/sfbmodule.c @@ -17,4 +17,6 @@ static XF86ModuleVersionInfo VersRec = { {0, 0, 0, 0} /* signature, to be patched into the file by a tool */ }; -_X_EXPORT XF86ModuleData shadowfbModuleData = { &VersRec, NULL, NULL }; +_X_EXPORT XF86ModuleData shadowfbModuleData = { + .vers = &VersRec +};