summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-10-11 19:39:25 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-10-14 11:09:00 +0100
commitc079a206ad9b48919d2649e6ca4747d3a067987e (patch)
tree051b4954ade29d832372693778f8b47a689ac8f1 /src/gallium/include
parent9837cf13b153218d9a5f32f538277e4fc139cebe (diff)
gallium: rename drm_driver_descriptor::{, driver_}name
Historically we use "device name" for the name of the kernel module and "driver name" for the dri/other driver. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/state_tracker/drm_driver.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/include/state_tracker/drm_driver.h b/src/gallium/include/state_tracker/drm_driver.h
index 06f41e72998..deccfb5a17d 100644
--- a/src/gallium/include/state_tracker/drm_driver.h
+++ b/src/gallium/include/state_tracker/drm_driver.h
@@ -88,7 +88,7 @@ struct drm_driver_descriptor
/**
* Identifying prefix/suffix of the binary, used by the pipe-loader.
*/
- const char *name;
+ const char *driver_name;
/**
* Create a pipe srcreen.
@@ -113,9 +113,9 @@ extern struct drm_driver_descriptor driver_descriptor;
/**
* Instantiate a drm_driver_descriptor struct.
*/
-#define DRM_DRIVER_DESCRIPTOR(name_str, func, conf) \
+#define DRM_DRIVER_DESCRIPTOR(driver_name_str, func, conf) \
struct drm_driver_descriptor driver_descriptor = { \
- .name = name_str, \
+ .driver_name = driver_name_str, \
.create_screen = func, \
.configuration = (conf), \
};