2 * Copyright (C) 2015 Samsung Electronics Co.Ltd
3 * Authors: Marek Szyprowski <m.szyprowski@samsung.com>
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version.
11 #ifndef S5P_MFC_IOMMU_H_
12 #define S5P_MFC_IOMMU_H_
14 #if defined(CONFIG_EXYNOS_IOMMU)
16 static inline bool exynos_is_iommu_available(struct device
*dev
)
18 return dev
->archdata
.iommu
!= NULL
;
23 static inline bool exynos_is_iommu_available(struct device
*dev
)
30 #endif /* S5P_MFC_IOMMU_H_ */