aboutsummaryrefslogtreecommitdiff
path: root/net/hsr/hsr_forward.c
diff options
context:
space:
mode:
authorGravatar George McCollister <george.mccollister@gmail.com> 2021-02-09 15:12:56 -0600
committerGravatar David S. Miller <davem@davemloft.net> 2021-02-11 13:17:04 -0800
commitf8a7e0145d58f53647c43fd9dd913da190c6c253 (patch)
tree23186600a2263f6c9b094ab81a86b88ffd4fe143 /net/hsr/hsr_forward.c
parentnet: dsa: xrs700x: fix unused warning for of_device_id (diff)
downloadlinux-f8a7e0145d58f53647c43fd9dd913da190c6c253.tar.gz
linux-f8a7e0145d58f53647c43fd9dd913da190c6c253.tar.bz2
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 'net/hsr/hsr_forward.c')
0 files changed, 0 insertions, 0 deletions