diff options
author | 2021-02-09 15:12:56 -0600 | |
---|---|---|
committer | 2021-02-11 13:17:04 -0800 | |
commit | f8a7e0145d58f53647c43fd9dd913da190c6c253 (patch) | |
tree | 23186600a2263f6c9b094ab81a86b88ffd4fe143 /include/net/net_namespace.h | |
parent | net: dsa: xrs700x: fix unused warning for of_device_id (diff) | |
download | wireguard-linux-f8a7e0145d58f53647c43fd9dd913da190c6c253.tar.xz wireguard-linux-f8a7e0145d58f53647c43fd9dd913da190c6c253.zip |
net: dsa: xrs700x: use of_match_ptr() on xrs700x_mdio_dt_ids
Use of_match_ptr() on xrs700x_mdio_dt_ids so that NULL is substituted
when CONFIG_OF isn't defined. This will prevent unnecessary use of
xrs700x_mdio_dt_ids when CONFIG_OF isn't defined.
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/net_namespace.h')
0 files changed, 0 insertions, 0 deletions