[PATCH 1/7] mtd: nand: davinci: fix driver registration

2013-11-20 Thread Ivan Khoronzhuk
When kernel is booted using DT, there is no guarantee that Davinci NAND device has been created already at the time when driver init function is executed. Therefore, platform_driver_probe() can't be used because this may result the Davinci NAND driver will never be probed. The driver probing has

[PATCH 1/7] mtd: nand: davinci: fix driver registration

2013-11-20 Thread Ivan Khoronzhuk
When kernel is booted using DT, there is no guarantee that Davinci NAND device has been created already at the time when driver init function is executed. Therefore, platform_driver_probe() can't be used because this may result the Davinci NAND driver will never be probed. The driver probing has