Skip to content

Commit 88ab320

Browse files
jonasjelonekrobimarko
authored andcommitted
realtek: mdio-serdes: use correct device table identifier
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] https://github.com/torvalds/linux/blob/7d0a66e4bb9081d75c82ec4957c50034cb0ea449/include/linux/module.h#L260 [2] https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/include/linux/module.h#L249 Signed-off-by: Jonas Jelonek <[email protected]> Link: openwrt/openwrt#21182 Signed-off-by: Robert Marko <[email protected]> (cherry picked from commit d519a3e)
1 parent c870f16 commit 88ab320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto-serdes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ static const struct of_device_id rtsds_of_match[] = {
528528
},
529529
{ /* sentinel */ }
530530
};
531-
MODULE_DEVICE_TABLE(of, rtsds_mdio_of_match);
531+
MODULE_DEVICE_TABLE(of, rtsds_of_match);
532532

533533
static struct platform_driver rtsds_mdio_driver = {
534534
.driver = {

0 commit comments

Comments
 (0)