From: Joonas Lahtinen Date: Fri, 6 Oct 2017 10:45:59 +0000 (+0300) Subject: drm/i915: Don't use BIT() in UAPI section X-Git-Tag: v4.19~298^2~46^2~1458 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=822a4b673284672af697ccd66e8795f8a712a90d;p=platform%2Fkernel%2Flinux-rpi3.git drm/i915: Don't use BIT() in UAPI section Lets not introduce BIT() macro requirement for UAPI for now. Fixes: 3fd3a6ffe279 ("drm/i915: Simplify i915_reg_read_ioctl") Signed-off-by: Joonas Lahtinen Cc: Chris Wilson Reviewed-by: Chris Wilson Link: https://patchwork.freedesktop.org/patch/msgid/20171006104559.17312-1-joonas.lahtinen@linux.intel.com --- diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h index 7266b53..125bde7 100644 --- a/include/uapi/drm/i915_drm.h +++ b/include/uapi/drm/i915_drm.h @@ -1318,7 +1318,7 @@ struct drm_i915_reg_read { * be specified */ __u64 offset; -#define I915_REG_READ_8B_WA BIT(0) +#define I915_REG_READ_8B_WA (1ul << 0) __u64 val; /* Return value */ };