From d75e676ffdf5095a5f4361110a760bf0d902f80f Mon Sep 17 00:00:00 2001 From: Antonio Argenziano Date: Fri, 23 Feb 2018 15:14:40 -0800 Subject: igt: Make libudev mandatory Since more essential components use libudev, make its dependency mandatory. Signed-off-by: Antonio Argenziano Cc: Chris Wilson Cc: Daniel Vetter Cc: Petri Latvala Cc: Arkadiusz Hiler Reviewed-by: Chris Wilson Acked-by: Petri Latvala --- tools/intel_l3_parity.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tools/intel_l3_parity.h') diff --git a/tools/intel_l3_parity.h b/tools/intel_l3_parity.h index 759c4f4b..275c9b4b 100644 --- a/tools/intel_l3_parity.h +++ b/tools/intel_l3_parity.h @@ -18,14 +18,9 @@ struct l3_location { uint8_t subbank; }; -#ifdef HAVE_UDEV int l3_uevent_setup(struct l3_parity *par); /* Listens (blocks) for an l3 parity event. Returns the location of the error. */ int l3_listen(struct l3_parity *par, bool daemon, struct l3_location *loc); #define l3_uevent_teardown(par) {} -#else -#define l3_uevent_setup(par, daemon, loc) -1 -#define l3_listen(par) -1 -#endif #endif -- cgit v1.2.3