config/udev: add pre_init stage to config and udev.

In order to use udev for gpu enumeration, we need to init udev earlier
than input initialisations. This splits the config init stuff so that udev
pre init sets up before output initialisation.

this is just a prepatory patch, doesn't change anything major.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie
2012-05-06 17:13:02 +01:00
parent a2a02882ab
commit 07dcc3f1a9
5 changed files with 25 additions and 4 deletions

View File

@@ -26,6 +26,7 @@
#ifndef HOTPLUG_H
#define HOTPLUG_H
extern _X_EXPORT void config_pre_init(void);
extern _X_EXPORT void config_init(void);
extern _X_EXPORT void config_fini(void);