| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* 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. |
|---|
| 11 | 3 | */ |
|---|
| 12 | 4 | |
|---|
| 13 | 5 | #ifndef __DPU_VBIF_H__ |
|---|
| .. | .. |
|---|
| 78 | 70 | */ |
|---|
| 79 | 71 | void dpu_vbif_init_memtypes(struct dpu_kms *dpu_kms); |
|---|
| 80 | 72 | |
|---|
| 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 | + |
|---|
| 94 | 75 | #endif /* __DPU_VBIF_H__ */ |
|---|