mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
16356049f5
Over time chery-picks for KGSL have been skipped or have been resolved differently between branches. As a result, this branch of KGSL has become increasingly difficult to maintain due to merge conflicts. With a few exceptions KGSL should match the msm-3.4 mainline exactly. To rectify the situation, this change brings KGSL up-to-date with the msm-3.4 mainline as a bulk change because cherry-picks are not practical. Change-Id: I53f9f7fbf4942e147dea486ff5dbf179af75ea8c Signed-off-by: Jeff Boody <jboody@codeaurora.org>
45 lines
1.3 KiB
C
45 lines
1.3 KiB
C
/* Copyright (c) 2002,2008-2011,2013, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef _KGSL_DEBUGFS_H
|
|
#define _KGSL_DEBUGFS_H
|
|
|
|
struct kgsl_device;
|
|
struct kgsl_process_private;
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
void kgsl_core_debugfs_init(void);
|
|
void kgsl_core_debugfs_close(void);
|
|
|
|
int kgsl_device_debugfs_init(struct kgsl_device *device);
|
|
|
|
extern struct dentry *kgsl_debugfs_dir;
|
|
static inline struct dentry *kgsl_get_debugfs_dir(void)
|
|
{
|
|
return kgsl_debugfs_dir;
|
|
}
|
|
|
|
int kgsl_process_init_debugfs(struct kgsl_process_private *);
|
|
#else
|
|
static inline void kgsl_core_debugfs_init(void) { }
|
|
static inline void kgsl_device_debugfs_init(struct kgsl_device *device) { }
|
|
static inline void kgsl_core_debugfs_close(void) { }
|
|
static inline struct dentry *kgsl_get_debugfs_dir(void) { return NULL; }
|
|
static inline int kgsl_process_init_debugfs(struct kgsl_process_private *priv)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|