diff options
author | Antonio Argenziano <antonio.argenziano@intel.com> | 2018-02-23 15:14:40 -0800 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2018-02-27 13:58:56 +0200 |
commit | d75e676ffdf5095a5f4361110a760bf0d902f80f (patch) | |
tree | 269d35a7e0d6a0263c42927a6f464548de6cba52 /lib/igt_aux.c | |
parent | 148737b8f9d22388ef2ae517c3512469f323f8e8 (diff) |
igt: Make libudev mandatory
Since more essential components use libudev, make its dependency
mandatory.
Signed-off-by: Antonio Argenziano <antonio.argenziano@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Petri Latvala <petri.latvala@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'lib/igt_aux.c')
-rw-r--r-- | lib/igt_aux.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/igt_aux.c b/lib/igt_aux.c index a23375a4..aabf6e50 100644 --- a/lib/igt_aux.c +++ b/lib/igt_aux.c @@ -50,6 +50,7 @@ #include <assert.h> #include <proc/readproc.h> +#include <libudev.h> #include "drmtest.h" #include "i915_drm.h" @@ -425,8 +426,6 @@ void igt_stop_shrink_helper(void) igt_stop_helper(&shrink_helper); } -#ifdef HAVE_UDEV -#include <libudev.h> static struct igt_helper_process hang_detector; static void __attribute__((noreturn)) @@ -506,17 +505,6 @@ void igt_stop_hang_detector(void) { igt_stop_helper(&hang_detector); } -#else -void igt_fork_hang_detector(int fd) -{ - if (igt_only_list_subtests()) - return; -} - -void igt_stop_hang_detector(void) -{ -} -#endif /** * igt_check_boolean_env_var: |