From: David Woodhouse Date: Sat, 19 Sep 2009 23:07:34 +0000 (-0700) Subject: mtd: sh_flctl: register sh_flctl using platform_driver_probe() X-Git-Tag: v2.6.32-rc1~160^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=894572a363539dc2e8ddde83056bd22fadb30748;p=pandora-kernel.git mtd: sh_flctl: register sh_flctl using platform_driver_probe() As with orion_nand in commit f33dabbe79fdf7a8568c65faa1db7794c87ac4d3 ("register orion_nand using platform_driver_probe()"), avoid .init.text problems by using platform_device_probe(). This isn't going to be hotplugged anyway. Reported-by: Uwe Kleine-König Signed-off-by: David Woodhouse --- Reading git-diff-tree failed