mtd: tmio_nand: fix build error
Subsystems (2)
PATCH 1/1 mtd: tmio_nand: fix build error
Fix a mistake introduced by commit 33f4a3b
"mtd: tmio_nand.c: use mtd_device_parse_register"
CC [M] drivers/mtd/nand/tmio_nand.odrivers/mtd/nand/tmio_nand.c:461:35: error: macro "mtd_device_register" passed 5 arguments, but takes just 3 drivers/mtd/nand/tmio_nand.c: In function 'tmio_probe':drivers/mtd/nand/tmio_nand.c:459: error: 'mtd_device_register' undeclared (first use in this function) drivers/mtd/nand/tmio_nand.c:459: error: (Each undeclared identifier is reported only once drivers/mtd/nand/tmio_nand.c:459: error: for each function it appears in.)
make[3]: *** [drivers/mtd/nand/tmio_nand.o] Error 1
make[2]: *** [drivers/mtd/nand] Error 2
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2
--- 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.4.1
Quoted 2 lines · Axel Lin
Fix a mistake introduced by commit 33f4a3b
"mtd:tmio_nand.c: usemtd_device_parse_register"
Already sumbited 27 June 2011. Strangely Artem remains silent.
Quoted 13 lines
CC [M]
drivers/mtd/nand/tmio_nand.odrivers/mtd/nand/tmio_nand.c:461:35: error: macro "mtd_device_register" passed 5 arguments, but takes just 3drivers/mtd/nand/tmio_nand.c: In function 'tmio_probe':drivers/mtd/nand/tmio_nand.c:459: error: 'mtd_device_register' undeclared (first use in this function)drivers/mtd/nand/tmio_nand.c:459: error: (Each undeclared identifier is reported only oncedrivers/mtd/nand/tmio_nand.c:459: error: for each function it appears in.) make[3]: *** [drivers/mtd/nand/tmio_nand.o] Error 1
make[2]: *** [drivers/mtd/nand] Error 2
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2
Signature · 2 lines
With best wishes Dmitry
Quoted 5 lines · Dmitry Eremin-Solenikov
Quoted 2 lines · Axel Lin
Fix a mistake introduced by commit 33f4a3b
"mtd:tmio_nand.c: usemtd_device_parse_register"Already sumbited 27 June 2011. Strangely Artem remains silent.
I handle my mailbox in FIFO order (with exceptions) so I have not reached your patch yet. Now I've merged it with one of your previous patches to keep the kernel bisectable.
Thanks!
Signature · 2 lines
Best Regards, Artem Bityutskiy
Quoted 10 lines · Artem Bityutskiy
Quoted 5 lines · Dmitry Eremin-Solenikov
Quoted 2 lines · Axel Lin
Fix a mistake introduced by commit 33f4a3b
"mtd:tmio_nand.c: usemtd_device_parse_register"Already sumbited 27 June 2011. Strangely Artem remains silent.
I handle my mailbox in FIFO order (with exceptions) so I have not reached your patch yet. Now I've merged it with one of your previous patches to keep the kernel bisectable.
Thanks and sorry if my comment offended you! It's just I see most of MLs/patches in threads, so I was a bit puzzled.
Signature · 2 lines
With best wishes Dmitry