Mesa (master): radeong: Make is_r3xx inline to avoid warnings.
Corbin Simpson
csimpson at kemper.freedesktop.org
Mon Jan 25 19:30:52 UTC 2010
Module: Mesa
Branch: master
Commit: c486bfb463f30bf894d2dae1326973aeb3de1159
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c486bfb463f30bf894d2dae1326973aeb3de1159
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date: Mon Jan 25 11:04:15 2010 -0800
radeong: Make is_r3xx inline to avoid warnings.
Split from Marek's immd-mode patch.
---
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 ddd7983..077388e 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);
}
More information about the mesa-commit
mailing list