Message ID | 20170209021828.22813-5-michel.thierry@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On ke, 2017-02-08 at 18:18 -0800, Michel Thierry wrote: > BIT macro already defined in the new bitops header. > > Signed-off-by: Michel Thierry <michel.thierry@intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Regards, Joonas
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, };
BIT macro already defined in the new bitops header. Signed-off-by: Michel Thierry <michel.thierry@intel.com> --- lib/intel_device_info.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)