]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: fix !CONFIG_OF build breakage
authorOhad Ben-Cohen <ohad@wizery.com>
Thu, 18 Jun 2015 08:44:41 +0000 (11:44 +0300)
committerOhad Ben-Cohen <ohad@wizery.com>
Thu, 18 Jun 2015 08:44:41 +0000 (11:44 +0300)
commitb7525fdd0cf412ed048843db822cfce548671869
tree966275e61d29034b7d4964a11eb3660c19a1bff8
parent31878a81ab0f4da300fd9b8676a62bcb3bbd4e59
remoteproc: fix !CONFIG_OF build breakage

Fix this:

drivers/remoteproc/remoteproc_core.c: In function 'rproc_get_by_phandle':
>> drivers/remoteproc/remoteproc_core.c:1167:2: error: implicit declaration of function 'of_find_node_by_phandle' [-Werror=implicit-function-declaration]
     np = of_find_node_by_phandle(phandle);

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Dave Gerlach <d-gerlach@ti.com>
Cc: Suman Anna <s-anna@ti.com>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/remoteproc_core.c