]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: sort init_reset_optional() with other init()s
authorConor Dooley <conor.dooley@microchip.com>
Wed, 6 Jul 2022 09:51:29 +0000 (10:51 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 8 Jul 2022 03:01:50 +0000 (20:01 -0700)
commitb39e4867aac087b473f6648fd9a0ba43ac076f37
tree8cc16db6d7743ce8fbfba7c45cdcd96f86f1eda7
parent7ca69a07343b392b7f292b0f7e8d737c69a12a04
net: macb: sort init_reset_optional() with other init()s

init_reset_optional() is somewhat oddly placed amidst the macb_config
struct definitions. Move it to a more reasonable location alongside
the fu540 init functions.

Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cadence/macb_main.c