Rob Herring d6e48462e8 net: mdio: xgene: Fix unused xgene_mdio_of_match warning for !CONFIG_OF
Commit a243ecc323b9 ("net: mdio: xgene: Use device_get_match_data()")
dropped the unconditional use of xgene_mdio_of_match resulting in this
warning:

drivers/net/mdio/mdio-xgene.c:303:34: warning: unused variable 'xgene_mdio_of_match' [-Wunused-const-variable]

The fix is to drop of_match_ptr() which is not necessary because DT is
always used for this driver (well, it could in theory support ACPI only,
but CONFIG_OF is always enabled for arm64).

Fixes: a243ecc323b9 ("net: mdio: xgene: Use device_get_match_data()")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202310170832.xnVXw1bb-lkp@intel.com/
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231019182345.833136-1-robh@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-10-23 10:16:47 -07:00
..
2023-08-11 21:12:45 +02:00
2023-10-17 12:45:03 +02:00
2023-10-01 19:09:54 +01:00
2023-08-11 21:12:45 +02:00
2023-08-14 08:03:52 +01:00
2023-10-10 17:49:00 -07:00
2023-10-04 11:49:20 -07:00
2023-08-03 15:34:36 -07:00
2023-10-17 17:44:51 -07:00
2023-08-29 17:39:15 -07:00