aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-5.10
diff options
context:
space:
mode:
authorDenis Kalashnikov <denis281089@gmail.com>2021-11-16 19:06:44 +0300
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2022-01-13 09:33:29 +0100
commit2d19e6c6a42cbbd6ab53c4c673ba71303ef6a70b (patch)
treedad3725f0d025a2909aaa51956e00a5f3f55bd93 /target/linux/generic/hack-5.10
parent9571d9d4b127622d8dd07b838d22b64e800dd23f (diff)
downloadupstream-2d19e6c6a42cbbd6ab53c4c673ba71303ef6a70b.tar.gz
upstream-2d19e6c6a42cbbd6ab53c4c673ba71303ef6a70b.tar.bz2
upstream-2d19e6c6a42cbbd6ab53c4c673ba71303ef6a70b.zip
generic: platform/mikrotik: use MTD notifier
If the SPI probe is sufficiently delayed, the routerboot driver may fail to init as the routerboot partitions are not yet available. Register an MTD user notifier instead of doing straight init so that the init subroutines are only executed when the target MTD partitions are present. Because the init/exit routines can now be called outside of the kernel normal init/exit calls, they cannot be jettisoned and must always be available: the __init and __exit qualifiers are thus removed. Reported-by: Denis Kalashnikov <denis281089@gmail.com> Signed-off-by: Denis Kalashnikov <denis281089@gmail.com> Signed-off-by: Thibaut VARĂˆNE <hacks@slashdirt.org> Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> [bump hardconfig/softconfig versions] Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/generic/hack-5.10')
0 files changed, 0 insertions, 0 deletions