mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
realtek: mdio-serdes: use correct device table identifier
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Use the correct identifier 'rtsds_of_match' instead of 'rtsds_mdio_of_match' because the latter doesn't exist. This doesn't cause an error for 6.12. However, with 6.18 the implementation of MODULE_DEVICE_TABLE has changed to use 'static' and 'used' [1] instead of 'extern' and 'unused' [2]. [1]7d0a66e4bb/include/linux/module.h (L260)[2]adc218676e/include/linux/module.h (L249)Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> Link: https://github.com/openwrt/openwrt/pull/21182 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
56a71f3c82
commit
d519a3ee86
1 changed files with 1 additions and 1 deletions
|
|
@ -528,7 +528,7 @@ static const struct of_device_id rtsds_of_match[] = {
|
|||
},
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, rtsds_mdio_of_match);
|
||||
MODULE_DEVICE_TABLE(of, rtsds_of_match);
|
||||
|
||||
static struct platform_driver rtsds_mdio_driver = {
|
||||
.driver = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue