]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit8de3dbd0895bebe52d069a82feae8e3fb51c1bdf
tree966275e61d29034b7d4964a11eb3660c19a1bff8
parenta01bc0d5f557bd8becd0ba75d09c39192004697e
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