]> git.baikalelectronics.ru Git - uboot.git/commit
net: fm: fix build error when not using nand
authorFrancois Gervais <fgervais@distech-controls.com>
Wed, 8 Apr 2020 13:48:12 +0000 (09:48 -0400)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 17 Apr 2020 09:43:19 +0000 (15:13 +0530)
commit8b8b0f8ff3fc12b3f471de71dac5592d4462f7e2
treecb28f256a7ffb092eeae2123f223d414473d5b60
parentbef746447989890c2bacbaa75e2d1c00ff9db57a
net: fm: fix build error when not using nand

If CONFIG_CMD_NAND is disabled, get_nand_dev_by_index() is not
accessible.

This fix allows the build to succeed in this case.

Signed-off-by: Francois Gervais <fgervais@distech-controls.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/fm/fm.c