Forráskód Böngészése

Merge tag 'topic/drm-fixes-2015-11-11' of git://anongit.freedesktop.org/drm-intel into drm-fixes

Single fix for uapi.

* tag 'topic/drm-fixes-2015-11-11' of git://anongit.freedesktop.org/drm-intel:
  drm: Use userspace compatible type in fourcc_mod_code macro
Dave Airlie 9 éve
szülő
commit
9589fcde27
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      include/uapi/drm/drm_fourcc.h

+ 1 - 1
include/uapi/drm/drm_fourcc.h

@@ -158,7 +158,7 @@
 /* add more to the end as needed */
 /* add more to the end as needed */
 
 
 #define fourcc_mod_code(vendor, val) \
 #define fourcc_mod_code(vendor, val) \
-	((((u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL))
+	((((__u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL))
 
 
 /*
 /*
  * Format Modifier tokens:
  * Format Modifier tokens: