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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



BIT macro already defined in the new bitops header.

Signed-off-by: Michel Thierry <michel.thierry@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux