From: Ivan Khoronzhuk Date: Tue, 17 Dec 2013 13:33:50 +0000 (+0200) Subject: mtd: nand: davinci: fix driver registration X-Git-Tag: v3.14-rc1~65^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaaa4a9af3f553dd07e1a21bbf857933ec9032f0;p=pandora-kernel.git mtd: nand: davinci: fix driver registration 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 to be made with core mechanism. Acked-by: Santosh Shilimkar Reviewed-by: Grygorii Strashko Reviewed-by: Taras Kondratiuk Signed-off-by: Ivan Khoronzhuk Signed-off-by: Brian Norris --- Reading git-diff-tree failed