gpu: pvr: move debugfs infrastructure to its own files
[sgx.git] / pvr / pvr_debugfs.h
1 /*
2  * Copyright (c) 2010-2011 Imre Deak <imre.deak@nokia.com>
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License as published by the
6  * Free Software Foundation; either version 2 of the License, or (at your
7  * option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  */
18
19 #ifndef _PVR_DEBUGFS_H_
20 #define _PVR_DEBUGFS_H_ 1
21
22 #ifndef CONFIG_DEBUG_FS
23 #error Error: debugfs header included but CONFIG_DEBUG_FS is not defined!
24 #endif
25
26 int pvr_debugfs_init(void);
27 void pvr_debugfs_cleanup(void);
28
29 #endif /* _PVR_DEBUGFS_H_ */