[Intel-gfx] [PATCH i-g-t 4/8] lib/intel_device_info: Use igt_bitops

Michel Thierry michel.thierry at intel.com
Thu Feb 9 02:18:24 UTC 2017


BIT macro already defined in the new bitops header.

Signed-off-by: Michel Thierry <michel.thierry at intel.com>
---
 lib/intel_device_info.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/intel_device_info.c b/lib/intel_device_info.c
index db4f3831..b5ad6236 100644
--- a/lib/intel_device_info.c
+++ b/lib/intel_device_info.c
@@ -1,10 +1,9 @@
 #include "intel_chipset.h"
 #include "i915_pciids.h"
+#include "igt_bitops.h"
 
 #include <strings.h> /* ffs() */
 
-#define BIT(x) (1<<(x))
-
 static const struct intel_device_info intel_generic_info = {
 	.gen = 0,
 };
-- 
2.11.0



More information about the Intel-gfx mailing list