summaryrefslogtreecommitdiff
path: root/linux-core/drm_sysfs.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-02-07 11:20:43 +0000
committerDave Airlie <airlied@linux.ie>2005-02-07 11:20:43 +0000
commit03ddea5b274a515528ea58db62f7b5f779430c5b (patch)
tree2c517b24c88ba20606176f4db5331c16970d60dc /linux-core/drm_sysfs.c
parent300e0866d68d40af9271a588bd93522e4e7a339c (diff)
downloadlibdrm-03ddea5b274a515528ea58db62f7b5f779430c5b.tar.gz
libdrm-03ddea5b274a515528ea58db62f7b5f779430c5b.tar.bz2
libdrm-03ddea5b274a515528ea58db62f7b5f779430c5b.zip
change DRIVER_ to CORE_ makes things look nicer, also change it so the
driver name is marked on resource allocations
Diffstat (limited to 'linux-core/drm_sysfs.c')
-rw-r--r--linux-core/drm_sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_sysfs.c b/linux-core/drm_sysfs.c
index 85edcfc9..405ba44c 100644
--- a/linux-core/drm_sysfs.c
+++ b/linux-core/drm_sysfs.c
@@ -55,8 +55,8 @@ static void drm_sysfs_class_release(struct class *class)
/* Display the version of drm_core. This doesn't work right in current design */
static ssize_t version_show(struct class *dev, char *buf)
{
- return sprintf(buf, "%s %d.%d.%d %s\n", DRIVER_NAME, DRIVER_MAJOR,
- DRIVER_MINOR, DRIVER_PATCHLEVEL, DRIVER_DATE);
+ return sprintf(buf, "%s %d.%d.%d %s\n", CORE_NAME, CORE_MAJOR,
+ CORE_MINOR, CORE_PATCHLEVEL, CORE_DATE);
}
static CLASS_ATTR(version, S_IRUGO, version_show, NULL);