|
@@ -122,9 +122,6 @@ int qxl_debugfs_add_files(struct qxl_device *qdev,
|
|
qdev->debugfs[qdev->debugfs_count].num_files = nfiles;
|
|
qdev->debugfs[qdev->debugfs_count].num_files = nfiles;
|
|
qdev->debugfs_count = i;
|
|
qdev->debugfs_count = i;
|
|
#if defined(CONFIG_DEBUG_FS)
|
|
#if defined(CONFIG_DEBUG_FS)
|
|
- drm_debugfs_create_files(files, nfiles,
|
|
|
|
- qdev->ddev->control->debugfs_root,
|
|
|
|
- qdev->ddev->control);
|
|
|
|
drm_debugfs_create_files(files, nfiles,
|
|
drm_debugfs_create_files(files, nfiles,
|
|
qdev->ddev->primary->debugfs_root,
|
|
qdev->ddev->primary->debugfs_root,
|
|
qdev->ddev->primary);
|
|
qdev->ddev->primary);
|
|
@@ -138,9 +135,6 @@ void qxl_debugfs_remove_files(struct qxl_device *qdev)
|
|
unsigned i;
|
|
unsigned i;
|
|
|
|
|
|
for (i = 0; i < qdev->debugfs_count; i++) {
|
|
for (i = 0; i < qdev->debugfs_count; i++) {
|
|
- drm_debugfs_remove_files(qdev->debugfs[i].files,
|
|
|
|
- qdev->debugfs[i].num_files,
|
|
|
|
- qdev->ddev->control);
|
|
|
|
drm_debugfs_remove_files(qdev->debugfs[i].files,
|
|
drm_debugfs_remove_files(qdev->debugfs[i].files,
|
|
qdev->debugfs[i].num_files,
|
|
qdev->debugfs[i].num_files,
|
|
qdev->ddev->primary);
|
|
qdev->ddev->primary);
|