Build failure due commit 9217e566bdee

From: Jarkko Nikula
Date: Wed Apr 04 2018 - 03:22:38 EST


Hi

Today's head and linux-next doesn't compile due commit 9217e566bdee ("of_net: Implement of_get_nvmem_mac_address helper"):

drivers/of/of_net.o: In function `of_get_nvmem_mac_address':
.../drivers/of/of_net.c:100: undefined reference to `of_nvmem_cell_get'
.../drivers/of/of_net.c:104: undefined reference to `nvmem_cell_read'
.../drivers/of/of_net.c:106: undefined reference to `nvmem_cell_put'
Makefile:1033: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1

Builds if I set CONFIG_NVMEM=y from CONFIG_NVMEM=m or revert above commit.

--
Jarkko