diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-01-25 11:04:15 -0800 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-01-25 11:30:39 -0800 |
commit | c486bfb463f30bf894d2dae1326973aeb3de1159 (patch) | |
tree | a14a3ecfcd7fa5865d2a5ea8978618dd8f7db292 /src/gallium/winsys | |
parent | 67149051be56825151659eb1672242b624555f7d (diff) |
radeong: Make is_r3xx inline to avoid warnings.
Split from Marek's immd-mode patch.
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/drm/radeon/core/radeon_drm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_drm.h b/src/gallium/winsys/drm/radeon/core/radeon_drm.h index ddd7983824..077388ee02 100644 --- a/src/gallium/winsys/drm/radeon/core/radeon_drm.h +++ b/src/gallium/winsys/drm/radeon/core/radeon_drm.h @@ -81,7 +81,7 @@ void radeon_destroy_drm_api(struct drm_api* api); /* Guess at whether this chipset should use r300g. * * I believe that this check is valid, but I haven't been exhaustive. */ -static boolean is_r3xx(int pciid) +static INLINE boolean is_r3xx(int pciid) { return (pciid > 0x3150) && (pciid < 0x796f); } |