Revert "staging: mt7621-pinctrl: replace core_initcall_sync with builtin_platform_driver"
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 9 Jul 2018 11:28:30 +0000 (13:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jul 2018 10:36:28 +0000 (12:36 +0200)
commit1d2d116a93f0e9bf0bca72da76a96edef8a1d36d
tree0c7e74c9d0cf421bc60fcb94c3fc7d9e871b748b
parent0be0debe4a8a6ff0c7b79ca7c16a656204651a69
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>
drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c