summaryrefslogtreecommitdiff
path: root/tools/intel_l3_parity.h
diff options
context:
space:
mode:
authorAntonio Argenziano <antonio.argenziano@intel.com>2018-02-23 15:14:40 -0800
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2018-02-27 13:58:56 +0200
commitd75e676ffdf5095a5f4361110a760bf0d902f80f (patch)
tree269d35a7e0d6a0263c42927a6f464548de6cba52 /tools/intel_l3_parity.h
parent148737b8f9d22388ef2ae517c3512469f323f8e8 (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 'tools/intel_l3_parity.h')
-rw-r--r--tools/intel_l3_parity.h5
1 files changed, 0 insertions, 5 deletions
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