diff options
author | Alexander Stein <[email protected]> | 2023-10-17 08:34:18 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-18 17:47:10 -0700 |
commit | e6809dba5ec3c20ec52eaa90ff107f853fdced1f (patch) | |
tree | 528afd2f081bf3c68a15ce3bdde33df5f3afb834 /tools/perf/scripts/python | |
parent | 2c6370a13f0e076de59a68b6c1480a6965c08952 (diff) |
net: fec: Fix device_get_match_data usage
device_get_match_data() expects that of_device_id->data points to actual
fec_devinfo data, not a platform_device_id entry.
Fix this by adjusting OF device data pointers to their corresponding
structs.
enum imx_fec_type is now unused and can be removed.
Fixes: b0377116decd ("net: ethernet: Use device_get_match_data()")
Signed-off-by: Alexander Stein <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions