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 /tests/testdisplay_hotplug.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 'tests/testdisplay_hotplug.c')
-rw-r--r-- | tests/testdisplay_hotplug.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/testdisplay_hotplug.c b/tests/testdisplay_hotplug.c index ca1d849d..581d987e 100644 --- a/tests/testdisplay_hotplug.c +++ b/tests/testdisplay_hotplug.c @@ -32,7 +32,6 @@ #include "config.h" -#ifdef HAVE_UDEV #include <libudev.h> static struct udev_monitor *uevent_monitor; static struct udev *udev; @@ -125,14 +124,3 @@ void testdisplay_cleanup_hotplug(void) if (udev) udev_unref(udev); } -#else -gboolean testdisplay_setup_hotplug(void) -{ - igt_warn("no hotplug support on this platform\n"); - return TRUE; -} - -void testdisplay_cleanup_hotplug(void) -{ -} -#endif |