1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2019 Intel Corporation
6 #ifndef __I915_DEBUGFS_H__
7 #define __I915_DEBUGFS_H__
9 struct drm_i915_private;
12 #ifdef CONFIG_DEBUG_FS
13 int i915_debugfs_register(struct drm_i915_private *dev_priv);
14 int i915_debugfs_connector_add(struct drm_connector *connector);
16 static inline int i915_debugfs_register(struct drm_i915_private *dev_priv) { return 0; }
17 static inline int i915_debugfs_connector_add(struct drm_connector *connector) { return 0; }
20 #endif /* __I915_DEBUGFS_H__ */