summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_accel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/drm_accel.h')
-rw-r--r--include/drm/drm_accel.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/drm/drm_accel.h b/include/drm/drm_accel.h
index d4955062c7..f4d3784b1d 100644
--- a/include/drm/drm_accel.h
+++ b/include/drm/drm_accel.h
@@ -58,7 +58,8 @@ int accel_minor_alloc(void);
void accel_minor_replace(struct drm_minor *minor, int index);
void accel_set_device_instance_params(struct device *kdev, int index);
int accel_open(struct inode *inode, struct file *filp);
-void accel_debugfs_init(struct drm_minor *minor, int minor_id);
+void accel_debugfs_init(struct drm_device *dev);
+void accel_debugfs_register(struct drm_device *dev);
#else
@@ -89,7 +90,11 @@ static inline void accel_set_device_instance_params(struct device *kdev, int ind
{
}
-static inline void accel_debugfs_init(struct drm_minor *minor, int minor_id)
+static inline void accel_debugfs_init(struct drm_device *dev)
+{
+}
+
+static inline void accel_debugfs_register(struct drm_device *dev)
{
}