mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
debugfs: print_regs32: make regs array a const pointer
Signed-off-by: Alessandro Rubini <rubini@gnudd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
c8d2a6f399
commit
8ee4dd9f06
2 changed files with 2 additions and 2 deletions
|
@ -548,7 +548,7 @@ EXPORT_SYMBOL_GPL(debugfs_create_blob);
|
||||||
* because some peripherals have several blocks of identical registers,
|
* because some peripherals have several blocks of identical registers,
|
||||||
* for example configuration of dma channels
|
* for example configuration of dma channels
|
||||||
*/
|
*/
|
||||||
int debugfs_print_regs32(struct seq_file *s, struct debugfs_reg32 *regs,
|
int debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs,
|
||||||
int nregs, void __iomem *base, char *prefix)
|
int nregs, void __iomem *base, char *prefix)
|
||||||
{
|
{
|
||||||
int i, ret = 0;
|
int i, ret = 0;
|
||||||
|
|
|
@ -90,7 +90,7 @@ struct dentry *debugfs_create_regset32(const char *name, mode_t mode,
|
||||||
struct dentry *parent,
|
struct dentry *parent,
|
||||||
struct debugfs_regset32 *regset);
|
struct debugfs_regset32 *regset);
|
||||||
|
|
||||||
int debugfs_print_regs32(struct seq_file *s, struct debugfs_reg32 *regs,
|
int debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs,
|
||||||
int nregs, void __iomem *base, char *prefix);
|
int nregs, void __iomem *base, char *prefix);
|
||||||
|
|
||||||
bool debugfs_initialized(void);
|
bool debugfs_initialized(void);
|
||||||
|
|
Loading…
Reference in a new issue