diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_util.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_util.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_util.h b/drivers/gpu/drm/nouveau/nouveau_util.h index b97719fbb739..114293758f8c 100644 --- a/drivers/gpu/drm/nouveau/nouveau_util.h +++ b/drivers/gpu/drm/nouveau/nouveau_util.h | |||
@@ -28,21 +28,7 @@ | |||
28 | #ifndef __NOUVEAU_UTIL_H__ | 28 | #ifndef __NOUVEAU_UTIL_H__ |
29 | #define __NOUVEAU_UTIL_H__ | 29 | #define __NOUVEAU_UTIL_H__ |
30 | 30 | ||
31 | struct nouveau_bitfield { | 31 | #include <core/enum.h> |
32 | u32 mask; | ||
33 | const char *name; | ||
34 | }; | ||
35 | |||
36 | struct nouveau_enum { | ||
37 | u32 value; | ||
38 | const char *name; | ||
39 | void *data; | ||
40 | }; | ||
41 | |||
42 | void nouveau_bitfield_print(const struct nouveau_bitfield *, u32 value); | ||
43 | void nouveau_enum_print(const struct nouveau_enum *, u32 value); | ||
44 | const struct nouveau_enum * | ||
45 | nouveau_enum_find(const struct nouveau_enum *, u32 value); | ||
46 | 32 | ||
47 | int nouveau_ratelimit(void); | 33 | int nouveau_ratelimit(void); |
48 | 34 | ||