aboutsummaryrefslogtreecommitdiff
path: root/techpack/display/rotator/sde_rotator_r1_debug.h
blob: 0d75e2f94c1448d1ab2a36cb6f75107a0086078e (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_r1_create_debugfs(struct sde_rot_mgr *mgr,
		struct dentry *debugfs_root);
#else
static inline
int sde_rotator_r1_create_debugfs(struct sde_rot_mgr *mgr,
		struct dentry *debugfs_root)
{
	return 0;
}
#endif
#endif /* __SDE_ROTATOR_R3_DEBUG_H__ */