Blame view

kernel/linux-rt-4.4.41/drivers/gpu/drm/nouveau/nouveau_debugfs.h 406 Bytes
5113f6f70   김현기   kernel add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  #ifndef __NOUVEAU_DEBUGFS_H__
  #define __NOUVEAU_DEBUGFS_H__
  
  #include <drm/drmP.h>
  
  #if defined(CONFIG_DEBUG_FS)
  extern int  nouveau_debugfs_init(struct drm_minor *);
  extern void nouveau_debugfs_takedown(struct drm_minor *);
  #else
  static inline int
  nouveau_debugfs_init(struct drm_minor *minor)
  {
         return 0;
  }
  
  static inline void nouveau_debugfs_takedown(struct drm_minor *minor)
  {
  }
  
  #endif
  
  #endif