Skip to content
Commit 894572a3 authored by David Woodhouse's avatar David Woodhouse
Browse files

mtd: sh_flctl: register sh_flctl using platform_driver_probe()

As with orion_nand in commit f33dabbe


("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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent c0cbfd0e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment