commit | 894572a363539dc2e8ddde83056bd22fadb30748 | [log] [tgz] |
---|---|---|
author | David Woodhouse <David.Woodhouse@intel.com> | Sat Sep 19 16:07:34 2009 -0700 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Sat Sep 19 16:07:34 2009 -0700 |
tree | e6e828fa0d5304d12e759976f8e0e0dde1567741 | |
parent | c0cbfd0e81d879a950ba6f0df3f75ea30c5ab16e [diff] |
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 <u.kleine-koenig@pengutronix.de> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>