mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
Revert "staging: mt7621-pinctrl: replace core_initcall_sync with builtin_platform_driver"
That patch causes the network interface on the device to stop working. device_initcall() is called much later than core_initcall_sync() and that seem to be a problem. Revert it to get a correct behaviour. Reported-by: NeilBrown <neil@brown.name> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0be0debe4a
commit
1d2d116a93
@ -423,4 +423,9 @@ static struct platform_driver rt2880_pinmux_driver = {
|
||||
},
|
||||
};
|
||||
|
||||
builtin_platform_driver(rt2880_pinmux_driver);
|
||||
int __init rt2880_pinmux_init(void)
|
||||
{
|
||||
return platform_driver_register(&rt2880_pinmux_driver);
|
||||
}
|
||||
|
||||
core_initcall_sync(rt2880_pinmux_init);
|
||||
|
Loading…
Reference in New Issue
Block a user