aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAlexander Stein <[email protected]>2023-10-17 08:34:18 +0200
committerJakub Kicinski <[email protected]>2023-10-18 17:47:10 -0700
commite6809dba5ec3c20ec52eaa90ff107f853fdced1f (patch)
tree528afd2f081bf3c68a15ce3bdde33df5f3afb834 /tools/perf/scripts/python/mem-phys-addr.py
parent2c6370a13f0e076de59a68b6c1480a6965c08952 (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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions