diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-01-15 15:22:02 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-02-15 09:15:18 +1000 |
commit | d33adcdf03c69407d151e732fa0cf9947151eb19 (patch) | |
tree | b9df4fcf47d7fcbf80215af4568e2b70ce49ccc6 /hw/kdrive | |
parent | 001ce71dc11287dc94cc2fbc5d35677c046e6c04 (diff) |
dix: move config_init into the DDX.
The only DDX currently using hotplugging is the xfree86 one and it looks
like it'll stay that way for a bit. Move the initialization to the DDX,
since Xephyr, Xnest, and friends don't need HAL or udev notifications.
Add CloseInput (counterpart to InitInput) to be able to clean up the config
initialization from the DDX as well.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Diffstat (limited to 'hw/kdrive')
-rw-r--r-- | hw/kdrive/ephyr/ephyrinit.c | 5 | ||||
-rw-r--r-- | hw/kdrive/fake/fakeinit.c | 5 | ||||
-rw-r--r-- | hw/kdrive/fbdev/fbinit.c | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c index c7bfb5bec..27cab3b63 100644 --- a/hw/kdrive/ephyr/ephyrinit.c +++ b/hw/kdrive/ephyr/ephyrinit.c @@ -94,6 +94,11 @@ InitInput (int argc, char **argv) KdInitInput(); } +void +CloseInput (void) +{ +} + #ifdef DDXBEFORERESET void ddxBeforeReset (void) diff --git a/hw/kdrive/fake/fakeinit.c b/hw/kdrive/fake/fakeinit.c index 87c221d37..ba61959ef 100644 --- a/hw/kdrive/fake/fakeinit.c +++ b/hw/kdrive/fake/fakeinit.c @@ -58,6 +58,11 @@ InitInput (int argc, char **argv) KdInitInput (); } +void +CloseInput (void) +{ +} + #ifdef DDXBEFORERESET void ddxBeforeReset (void) diff --git a/hw/kdrive/fbdev/fbinit.c b/hw/kdrive/fbdev/fbinit.c index 93646f6d7..51e7e00d9 100644 --- a/hw/kdrive/fbdev/fbinit.c +++ b/hw/kdrive/fbdev/fbinit.c @@ -45,6 +45,11 @@ InitInput (int argc, char **argv) } void +CloseInput (void) +{ +} + +void ddxUseMsg (void) { KdUseMsg(); |