mtd: tmio_nand should call mtd_device_parse_register
Subsystems (2)
PATCH 1/1 mtd: tmio_nand should call mtd_device_parse_register
While patching tmio_nand for mtd_device_parse_register(), I've changed it to correctly pass arguments, but didn't change the function call itself, so correct that mistake.
Signed-off-by Dmitry Eremin-Solenikov <[email protected]>
--- drivers/mtd/nand/tmio_nand.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/tmio_nand.c +1 -1
@@ -456,7 +456,7 @@ static int tmio_probe(struct platform_device *dev) goto err_scan; }/* Register the partitions */ - retval =mtd_device_register (mtd,NULL ,0 , + retval =mtd_device_parse_register (mtd,NULL ,0 , data ? data->partition :NULL , data ? data->num_partitions :0 );if (!retval)
Signature · 1 line
1.7.5.4