]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit77dde862396abf1ef3738aad39ee99436aa9b780
tree999710005821bd1a20af24d842dea43d270f5ed2
parent985a9439bfbf2829d1f3b892b28eaa5aa112f62b
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