Closed opsiff closed 2 weeks ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign xzl01 for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
… void
0edb555: platform: Make platform_driver::remove() return void cause build error, so convert .remove from int to void
drivers/net/ethernet/phytium/phytmac_platform.c:243:19: error: initialization of ‘void ()(struct platform_device )’ from incompatible pointer type ‘int ()(struct platform_device )’ [-Werror=incompatible-pointer-types] 243 | .remove = phytmac_plat_remove, | ^.remove’)
~~~~~~ drivers/net/ethernet/phytium/phytmac_platform.c:243:19: note: (near initialization for ‘phytmac_driver.