summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos/exynos_drm_debugfs.h
blob: 17a50b2e55a8146acb3f8de9266113c0cf85c15d (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
26
27
/*
 * Copyright (C) 2014 Samsung Electronics Co.Ltd
 * Author: YoungJun Cho <yj44.cho@samsung.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundationr
 */

#ifndef _EXYNOS_DRM_DEBUGFS_H_
#define _EXYNOS_DRM_DEBUGFS_H_

#if defined(CONFIG_DEBUG_FS)
extern int exynos_drm_debugfs_init(struct drm_minor *minor);
extern void exynos_drm_debugfs_cleanup(struct drm_minor *minor);
#else
static inline int exynos_drm_debugfs_init(struct drm_minor *minor)
{
	return 0;
}

static inline void exynos_drm_debugfs_cleanup(struct drm_minor *minor)
{
}
#endif

#endif	/* _EXYNOS_DRM_DEBUGFS_H_ */