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)
commit596ec9ba5e20c252c3002bad416f38090fdc1502
treeaf810526b6384021fbca5f5f95d80fae47b83bf5
parentc098a8376c2a13c99c83d00c73ad6e01435def2f
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