aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/radeon_drm.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-02-25 18:51:42 -0500
committerIngo Molnar <mingo@elte.hu>2009-03-26 13:14:18 -0400
commit1d7f83d5ad6c30b385ba549c1c3a287cc872b7ae (patch)
tree05c11fb255f01d4f81839204fd31f1283030b496 /include/drm/radeon_drm.h
parentccef7ab534347e2e1e1ef398d2ec987d37e519f3 (diff)
make drm headers use strict integer types
The drm headers are traditionally shared with BSD and could not use the strict linux integer types. This is over now, so we can use our own types now. Cc: David Airlie <airlied@linux.ie> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/drm/radeon_drm.h')
-rw-r--r--include/drm/radeon_drm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h
index 73ff51f12311..72ecf67ad3ec 100644
--- a/include/drm/radeon_drm.h
+++ b/include/drm/radeon_drm.h
@@ -33,6 +33,8 @@
33#ifndef __RADEON_DRM_H__ 33#ifndef __RADEON_DRM_H__
34#define __RADEON_DRM_H__ 34#define __RADEON_DRM_H__
35 35
36#include <linux/types.h>
37
36/* WARNING: If you change any of these defines, make sure to change the 38/* WARNING: If you change any of these defines, make sure to change the
37 * defines in the X server file (radeon_sarea.h) 39 * defines in the X server file (radeon_sarea.h)
38 */ 40 */
@@ -722,7 +724,7 @@ typedef struct drm_radeon_irq_wait {
722 724
723typedef struct drm_radeon_setparam { 725typedef struct drm_radeon_setparam {
724 unsigned int param; 726 unsigned int param;
725 int64_t value; 727 __s64 value;
726} drm_radeon_setparam_t; 728} drm_radeon_setparam_t;
727 729
728#define RADEON_SETPARAM_FB_LOCATION 1 /* determined framebuffer location */ 730#define RADEON_SETPARAM_FB_LOCATION 1 /* determined framebuffer location */