mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 15:34:43 +07:00
f06b2052f7
Since commit 987d65d013
(drm: debugfs: make
drm_debugfs_create_files() never fail), drm_debugfs_create_files() never
fails and should return void. Therefore, remove its use as the
return value of debugfs_init() functions and have the functions return
void.
v2: convert intel_display_debugfs_register() stub to return void too.
Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200310133121.27913-15-wambui.karugax@gmail.com
23 lines
627 B
C
23 lines
627 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __I915_DEBUGFS_H__
|
|
#define __I915_DEBUGFS_H__
|
|
|
|
struct drm_connector;
|
|
struct drm_i915_gem_object;
|
|
struct drm_i915_private;
|
|
struct seq_file;
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
void i915_debugfs_register(struct drm_i915_private *dev_priv);
|
|
void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj);
|
|
#else
|
|
static inline void i915_debugfs_register(struct drm_i915_private *dev_priv) {}
|
|
static inline void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj) {}
|
|
#endif
|
|
|
|
#endif /* __I915_DEBUGFS_H__ */
|