mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
mtd: mtdcore: constify name param in mtd_bdi_init
The bdi name is not modified by the function, it should be const. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210225143329.430012-1-tomas.winkler@intel.com
This commit is contained in:
parent
1ca890d325
commit
462d69a2dc
@ -2173,7 +2173,7 @@ static int mtd_proc_show(struct seq_file *m, void *v)
|
||||
/*====================================================================*/
|
||||
/* Init code */
|
||||
|
||||
static struct backing_dev_info * __init mtd_bdi_init(char *name)
|
||||
static struct backing_dev_info * __init mtd_bdi_init(const char *name)
|
||||
{
|
||||
struct backing_dev_info *bdi;
|
||||
int ret;
|
||||
|
Loading…
Reference in New Issue
Block a user