driver: net: fm: minor fix in DM ETH support
authorMadalin Bucur <madalin.bucur@oss.nxp.com>
Mon, 4 May 2020 10:09:12 +0000 (13:09 +0300)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 19 May 2020 03:52:07 +0000 (09:22 +0530)
commit9b2e892eb6e30913ee8ca95f1a360d61785d0912
tree083213b39d4f6cb24637a6bfc15b9fa10b9e9243
parentb84519cbd56f46d4acd8ef3e334145b2021fcd17
driver: net: fm: minor fix in DM ETH support

Bus callback functions for read/write/reset need to be set only for
DM_ETH, moving endif a bit lower.

Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/fm/eth.c