History

drm/i915: Don't use BIT() in UAPI section

Lets not introduce BIT() macro requirement for UAPI for now.

Joonas Lahtinen committed 9 years ago

Commit 822a4b61 parent 0c3767b1 file · +1 −1Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/i915_drm.h+1−1
@@ -1318,7 +1318,7 @@ struct drm_i915_reg_read { · 1317 unmodified lines
13181318 * be specified
13191319 */
13201320 __u64 offset;
1321−#define I915_REG_READ_8B_WA BIT(0)
1321+#define I915_REG_READ_8B_WA (1ul << 0)
13221322
13231323 __u64 val; /* Return value */
13241324 };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t