summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/shared/kmod_noop.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/os-support/shared/kmod_noop.c')
-rw-r--r--hw/xfree86/os-support/shared/kmod_noop.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/xfree86/os-support/shared/kmod_noop.c b/hw/xfree86/os-support/shared/kmod_noop.c
new file mode 100644
index 000000000..80f487593
--- /dev/null
+++ b/hw/xfree86/os-support/shared/kmod_noop.c
@@ -0,0 +1,8 @@
+
+#include "xf86_OSproc.h"
+
+int xf86LoadKernelModule(const char *pathname)
+{
+ (void) pathname;
+ return 0; /* failure */
+}