#include "amdgpu_xgmi.h"
 #include "ivsrcid/nbio/irqsrcs_nbif_7_4.h"
 
+static const char *RAS_FS_NAME = "ras";
+
 const char *ras_error_string[] = {
        "none",
        "parity",
                NULL
        };
        struct attribute_group group = {
-               .name = "ras",
+               .name = RAS_FS_NAME,
                .attrs = attrs,
                .bin_attrs = bin_attrs,
        };
                NULL
        };
        struct attribute_group group = {
-               .name = "ras",
+               .name = RAS_FS_NAME,
                .attrs = attrs,
                .bin_attrs = bin_attrs,
        };
 
        if (sysfs_add_file_to_group(&adev->dev->kobj,
                                &obj->sysfs_attr.attr,
-                               "ras")) {
+                               RAS_FS_NAME)) {
                put_obj(obj);
                return -EINVAL;
        }
 
        sysfs_remove_file_from_group(&adev->dev->kobj,
                                &obj->sysfs_attr.attr,
-                               "ras");
+                               RAS_FS_NAME);
        obj->attr_inuse = 0;
        put_obj(obj);
 
        struct amdgpu_ras *con = amdgpu_ras_get_context(adev);
        struct drm_minor *minor = adev->ddev->primary;
 
-       con->dir = debugfs_create_dir("ras", minor->debugfs_root);
+       con->dir = debugfs_create_dir(RAS_FS_NAME, minor->debugfs_root);
        debugfs_create_file("ras_ctrl", S_IWUGO | S_IRUGO, con->dir,
                                adev, &amdgpu_ras_debugfs_ctrl_ops);
        debugfs_create_file("ras_eeprom_reset", S_IWUGO | S_IRUGO, con->dir,