forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.h
....@@ -1,13 +1,5 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
2
- *
3
- * This program is free software; you can redistribute it and/or modify
4
- * it under the terms of the GNU General Public License version 2 and
5
- * only version 2 as published by the Free Software Foundation.
6
- *
7
- * This program is distributed in the hope that it will be useful,
8
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
9
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
- * GNU General Public License for more details.
113 */
124
135 #ifndef __DPU_VBIF_H__
....@@ -78,17 +70,6 @@
7870 */
7971 void dpu_vbif_init_memtypes(struct dpu_kms *dpu_kms);
8072
81
-#ifdef CONFIG_DEBUG_FS
82
-int dpu_debugfs_vbif_init(struct dpu_kms *dpu_kms, struct dentry *debugfs_root);
83
-void dpu_debugfs_vbif_destroy(struct dpu_kms *dpu_kms);
84
-#else
85
-static inline int dpu_debugfs_vbif_init(struct dpu_kms *dpu_kms,
86
- struct dentry *debugfs_root)
87
-{
88
- return 0;
89
-}
90
-static inline void dpu_debugfs_vbif_destroy(struct dpu_kms *dpu_kms)
91
-{
92
-}
93
-#endif
73
+void dpu_debugfs_vbif_init(struct dpu_kms *dpu_kms, struct dentry *debugfs_root);
74
+
9475 #endif /* __DPU_VBIF_H__ */