diff options
| author | Arnd Bergmann <[email protected]> | 2017-09-11 20:07:50 +0000 |
|---|---|---|
| committer | Rob Herring <[email protected]> | 2017-09-19 17:20:44 +0000 |
| commit | aa767cfb75341a6b93742f4d7d1589ac2532c29e (patch) | |
| tree | af6c6d16060b006fc49759ec639cabb33d75d3c0 /fs/proc/array.c | |
| parent | Linux 4.14-rc1 (diff) | |
| download | kernel-aa767cfb75341a6b93742f4d7d1589ac2532c29e.tar.gz kernel-aa767cfb75341a6b93742f4d7d1589ac2532c29e.zip | |
of: provide inline helper for of_find_device_by_node
The ipmmu-vmsa driver fails in compile-testing on non-OF platforms:
drivers/iommu/ipmmu-vmsa.o: In function `ipmmu_of_xlate':
ipmmu-vmsa.c:(.text+0x740): undefined reference to `of_find_device_by_node'
It would be reasonable to assume that this interface works but
returns failure on non-OF builds, like it does on machines that
have been booted in another way, so this adds another inline
function helper.
Fixes: 7b2d59611fef ("iommu/ipmmu-vmsa: Replace local utlb code with fwspec ids")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
