[Nouveau] [PATCH] debugfs: don't emit parameter names
Samuel Pitoiset
samuel.pitoiset at gmail.com
Wed Jan 13 05:33:29 PST 2016
On 01/13/2016 02:12 PM, Karol Herbst wrote:
> fixes a compile error
Yeah, and this is probably not the only error you will hit...
This is happens when CONFIG_DEBUG_FS is set.
You need to include "nouveau_drm.h" and to fix nouveau_debugfs.c too.
>
> Signed-off-by: Karol Herbst <nouveau at karolherbst.de>
> ---
> drm/nouveau/nouveau_debugfs.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drm/nouveau/nouveau_debugfs.h b/drm/nouveau/nouveau_debugfs.h
> index 52c7161..b8c03ff 100644
> --- a/drm/nouveau/nouveau_debugfs.h
> +++ b/drm/nouveau/nouveau_debugfs.h
> @@ -34,13 +34,13 @@ nouveau_drm_debugfs_cleanup(struct drm_minor *minor)
> }
>
> static inline int
> -nouveau_debugfs_init(struct nouveau_drm *)
> +nouveau_debugfs_init(struct nouveau_drm *drm)
> {
> return 0;
> }
>
> static inline void
> -nouveau_debugfs_fini(struct nouveau_drm *)
> +nouveau_debugfs_fini(struct nouveau_drm *drm)
> {
> }
>
>
--
-Samuel
More information about the Nouveau
mailing list