|
@@ -2235,10 +2235,10 @@ int i915_verify_lists(struct drm_device *dev);
|
|
|
/* i915_debugfs.c */
|
|
|
int i915_debugfs_init(struct drm_minor *minor);
|
|
|
void i915_debugfs_cleanup(struct drm_minor *minor);
|
|
|
-#if defined(CONFIG_DEBUG_FS)
|
|
|
+#ifdef CONFIG_DEBUG_FS
|
|
|
void intel_display_crc_init(struct drm_device *dev);
|
|
|
#else
|
|
|
-void intel_display_crc_init(struct drm_device *dev) {}
|
|
|
+static inline void intel_display_crc_init(struct drm_device *dev) {}
|
|
|
#endif
|
|
|
|
|
|
/* i915_gpu_error.c */
|