mtd: mtdcore: constify name param in mtd_bdi_init
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 25 Feb 2021 14:33:29 +0000 (16:33 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 11 Mar 2021 08:37:49 +0000 (09:37 +0100)
commit462d69a2dc3d6d8289d99479961632411b9d30ad
tree999710005821bd1a20af24d842dea43d270f5ed2
parent1ca890d325c8ec11e553c706b339bf07a6450696
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
drivers/mtd/mtdcore.c