diff options
author | Stefan Agner <stefan@agner.ch> | 2019-04-11 00:47:46 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-04-11 10:35:39 +0200 |
commit | e154592a1d25fa1f50ac1bd8d132d0e1103442ba (patch) | |
tree | ec5032a411edefc6a1eb137b71dd8983881e813b /.gitattributes | |
parent | 509869a2fec36ecb2b841180915995f41d5a0219 (diff) | |
download | lwn-e154592a1d25fa1f50ac1bd8d132d0e1103442ba.tar.gz lwn-e154592a1d25fa1f50ac1bd8d132d0e1103442ba.zip |
gpu: host1x: Fix compile error when IOMMU API is not available
In case the IOMMU API is not available compiling host1x fails with
the following error:
In file included from drivers/gpu/host1x/hw/host1x06.c:27:
drivers/gpu/host1x/hw/channel_hw.c: In function ‘host1x_channel_set_streamid’:
drivers/gpu/host1x/hw/channel_hw.c:118:30: error: implicit declaration of function
‘dev_iommu_fwspec_get’; did you mean ‘iommu_fwspec_free’? [-Werror=implicit-function-declaration]
struct iommu_fwspec *spec = dev_iommu_fwspec_get(channel->dev->parent);
^~~~~~~~~~~~~~~~~~~~
iommu_fwspec_free
Fixes: de5469c21ff9 ("gpu: host1x: Program the channel stream ID")
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions