diff options
author | Yong Wu <yong.wu@mediatek.com> | 2017-08-24 10:42:11 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-08-28 12:26:21 +0300 |
commit | 4f1c8ea16b643be339f0e80b3535bc5b5fe8f9a3 (patch) | |
tree | 9ee439dc6713fab1a9406872cc6c75584a38fb18 /drivers/net/usb/asix_common.c | |
parent | 4f608d382e6fa982655e37d0e1b6c134fdc0e4c3 (diff) | |
download | linux-4f1c8ea16b643be339f0e80b3535bc5b5fe8f9a3.tar.xz |
iommu/mediatek: Fix a build fail of m4u_type
The commit ("iommu/mediatek: Enlarge the validate PA range
for 4GB mode") introduce the following build error:
drivers/iommu/mtk_iommu.c: In function 'mtk_iommu_hw_init':
>> drivers/iommu/mtk_iommu.c:536:30: error: 'const struct mtk_iommu_data'
has no member named 'm4u_type'; did you mean 'm4u_dom'?
if (data->enable_4GB && data->m4u_type != M4U_MT8173) {
This patch fix it, use "m4u_plat" instead of "m4u_type".
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/net/usb/asix_common.c')
0 files changed, 0 insertions, 0 deletions