]> git.baikalelectronics.ru Git - uboot.git/commit
net: tsec: Mark tsec_get_interface as __maybe_unused
authorRamon Fried <rfried.dev@gmail.com>
Tue, 28 Sep 2021 15:49:02 +0000 (18:49 +0300)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 28 Sep 2021 15:50:55 +0000 (18:50 +0300)
commit713b42327a24e2d3681a77d3b8d459929e29524f
treeaf810526b6384021fbca5f5f95d80fae47b83bf5
parent24f366ebeba5c7daccf54f9c4a5575c5fdb9fef7
net: tsec: Mark tsec_get_interface as __maybe_unused

Non DM builds fail with the following error:
drivers/net/tsec.c:641:24: error: 'tsec_get_interface' defined but not used [-Werror=unused-function]
  641 | static phy_interface_t tsec_get_interface(struct tsec_private *priv)

Fix that.

Signed-off-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/tsec.c