Commit d7c3e279 authored by Alon Levy's avatar Alon Levy

xspice: use spiceqxl as name of xspice driver

Fixes a few places that have hardcoded "qxl" to use the already defined
QXL_DRIVER_NAME.
parent f9d4fc34
......@@ -49,8 +49,13 @@
#define hidden _X_HIDDEN
#ifdef XSPICE
#define QXL_NAME "spiceqxl"
#define QXL_DRIVER_NAME "spiceqxl"
#else
#define QXL_NAME "qxl"
#define QXL_DRIVER_NAME "qxl"
#endif
#define PCI_VENDOR_RED_HAT 0x1b36
#define PCI_CHIP_QXL_0100 0x0100
......
......@@ -1385,7 +1385,7 @@ static void
qxl_init_scrn(ScrnInfoPtr pScrn)
{
pScrn->driverVersion = 0;
pScrn->driverName = pScrn->name = "qxl";
pScrn->driverName = pScrn->name = QXL_DRIVER_NAME;
pScrn->PreInit = qxl_pre_init;
pScrn->ScreenInit = qxl_screen_init;
pScrn->SwitchMode = qxl_switch_mode;
......@@ -1465,7 +1465,7 @@ qxl_pci_probe(DriverPtr drv, int entity, struct pci_device *dev, intptr_t match)
static DriverRec qxl_driver = {
0,
"qxl",
QXL_DRIVER_NAME,
qxl_identify,
qxl_probe,
NULL,
......@@ -1495,7 +1495,7 @@ qxl_setup(pointer module, pointer opts, int *errmaj, int *errmin)
}
static XF86ModuleVersionInfo qxl_module_info = {
"qxl",
QXL_DRIVER_NAME,
MODULEVENDORSTRING,
MODINFOSTRING1,
MODINFOSTRING2,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment