summaryrefslogtreecommitdiff
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorDavid Wu <david.wu@rock-chips.com>2021-05-17 12:40:35 -0300
committerDavid S. Miller <davem@davemloft.net>2021-05-17 15:34:43 -0700
commit37c80d15ff4bf7526caf5de8b8cab17ac8769d4c (patch)
tree86e7a93f9f05648764011e51ca38a3c68c4205c2 /lib/test_stackinit.c
parentd6b0625163a8948341d12cac420402a31093b5ed (diff)
net: stmmac: dwmac-rk: Check platform-specific ops
Add a check for non-null struct rk_gmac_ops for the configured PHY interface mode, failing if unsupported. Signed-off-by: David Wu <david.wu@rock-chips.com> [Ezequiel: Refactor so it fails if unsupported] Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions