From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/kernel/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h b/kernel/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h
index 7666792..1a32266 100644
--- a/kernel/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h
+++ b/kernel/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Copyright (C) 2015 Samsung Electronics Co.Ltd
* Authors: Marek Szyprowski <m.szyprowski@samsung.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
*/
#ifndef S5P_MFC_IOMMU_H_
@@ -13,9 +9,11 @@
#if defined(CONFIG_EXYNOS_IOMMU)
+#include <linux/iommu.h>
+
static inline bool exynos_is_iommu_available(struct device *dev)
{
- return dev->archdata.iommu != NULL;
+ return dev_iommu_priv_get(dev) != NULL;
}
#else
--
Gitblit v1.6.2