summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2004-08-20 05:22:39 +0000
committerKevin E Martin <kem@kem.org>2004-08-20 05:22:39 +0000
commit74d84d7b122802230579a4da8c2e6914d2f5f060 (patch)
treeba9e024ee0f73a91bfd694a3686af289d3f65246 /hw
parentbd3e6e44259155cb37f39eb2ca5e1f0de1c2ebb7 (diff)
Fix keyboard driver failing to initialize if DoLoadableServer is NO (Bug
#1133, Kristian Høgsberg).
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/common/xf86Init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index b929c5100..f507753fe 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -144,7 +144,7 @@ static int numFormats = 6;
#endif
static Bool formatsDone = FALSE;
-InputDriverRec xf86KEYBOARD = {
+InputDriverRec XF86KEYBOARD = {
1,
"keyboard",
NULL,
@@ -425,7 +425,7 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv)
#ifdef USE_DEPRECATED_KEYBOARD_DRIVER
/* Setup the builtin input drivers */
- xf86AddInputDriver(&xf86KEYBOARD, NULL, 0);
+ xf86AddInputDriver(&XF86KEYBOARD, NULL, 0);
#endif
/* Load all input driver modules specified in the config file. */
if ((modulelist = xf86InputDriverlistFromConfig())) {