aboutsummaryrefslogtreecommitdiff
path: root/techpack/display/rotator/sde_rotator_r3_debug.h
blob: eef53979fbb28edce9dffbebad1618022b061aa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
 */

#ifndef __SDE_ROTATOR_R3_DEBUG_H__
#define __SDE_ROTATOR_R3_DEBUG_H__

#include <linux/types.h>
#include <linux/dcache.h>

struct sde_rot_mgr;

#if defined(CONFIG_DEBUG_FS)
int sde_rotator_r3_create_debugfs(struct sde_rot_mgr *mgr,
		struct dentry *debugfs_root);
#else
static inline
int sde_rotator_r3_create_debugfs(struct sde_rot_mgr *mgr,
		struct dentry *debugfs_root)
{
	return 0;
}
#endif
#endif /* __SDE_ROTATOR_R3_DEBUG_H__ */