mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 19:01:37 +00:00
75dcfc1d67
We have many extern declarations of mips_debugfs_dir through arch/mips/ in various C files. Unify them by declaring mips_debugfs_dir in a header, including it in each affected C file & removing the duplicate declarations. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Cc: Steven J. Hill <Steven.Hill@imgtec.com> Cc: Alexander Sverdlin <alexander.sverdlin@nokia.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> Cc: Maciej W. Rozycki <macro@linux-mips.org> Cc: linux-kernel@vger.kernel.org Cc: Joe Perches <joe@perches.com> Cc: Jaedon Shin <jaedon.shin@gmail.com> Cc: James Hogan <james.hogan@imgtec.com> Cc: David Daney <david.daney@cavium.com> Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Cc: Markos Chandras <markos.chandras@imgtec.com> Cc: James Cowgill <James.Cowgill@imgtec.com> Patchwork: https://patchwork.linux-mips.org/patch/11181/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
23 lines
654 B
C
23 lines
654 B
C
/*
|
|
* Copyright (C) 2015 Imagination Technologies
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*/
|
|
|
|
#ifndef __MIPS_ASM_DEBUG_H__
|
|
#define __MIPS_ASM_DEBUG_H__
|
|
|
|
#include <linux/dcache.h>
|
|
|
|
/*
|
|
* mips_debugfs_dir corresponds to the "mips" directory at the top level
|
|
* of the DebugFS hierarchy. MIPS-specific DebugFS entires should be
|
|
* placed beneath this directory.
|
|
*/
|
|
extern struct dentry *mips_debugfs_dir;
|
|
|
|
#endif /* __MIPS_ASM_DEBUG_H__ */
|