radeon: fix build on non-KMS systems.
authorDave Airlie <airlied@redhat.com>
Sun, 2 Jan 2011 20:02:43 +0000 (06:02 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 2 Jan 2011 20:03:44 +0000 (06:03 +1000)
Reported on irc by adamk.

src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h

index 6c2648b..60f1049 100644 (file)
@@ -67,6 +67,9 @@ struct drm_radeon_info {
 #define DRM_RADEON_INFO 0x1
 #endif
 
+static inline void radeon_gem_get_kernel_name(struct radeon_bo *dummy, uint32_t *value)
+{
+}
 
 static inline uint32_t radeon_gem_name_bo(struct radeon_bo *dummy)
 {