diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2015-03-23 21:52:00 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-04-28 11:19:15 +0100 |
commit | 76e9799b8a465bc3545823ed283a6c3a049c7524 (patch) | |
tree | 79fa5086d4e420fb7f32f6c0b1d2cc4551a6b5cd /nouveau/private.h | |
parent | a418f2f89510f367eaef97b97c14c0cc573ae43a (diff) |
nouveau: annotate the private symbols
They are less and easier to track than the public ones. The macro
drm_public will be going away by the end of the series.
Cc: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'nouveau/private.h')
-rw-r--r-- | nouveau/private.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/nouveau/private.h b/nouveau/private.h index bf9db042..74d604e8 100644 --- a/nouveau/private.h +++ b/nouveau/private.h @@ -10,7 +10,7 @@ #include "nouveau.h" #ifdef DEBUG -uint32_t nouveau_debug; +drm_private uint32_t nouveau_debug; #define dbg_on(lvl) (nouveau_debug & (1 << lvl)) #define dbg(lvl, fmt, args...) do { \ if (dbg_on((lvl))) \ @@ -114,13 +114,13 @@ int nouveau_device_open_existing(struct nouveau_device **, int, int, drm_context_t); /* abi16.c */ -int abi16_chan_nv04(struct nouveau_object *); -int abi16_chan_nvc0(struct nouveau_object *); -int abi16_chan_nve0(struct nouveau_object *); -int abi16_engobj(struct nouveau_object *); -int abi16_ntfy(struct nouveau_object *); -void abi16_bo_info(struct nouveau_bo *, struct drm_nouveau_gem_info *); -int abi16_bo_init(struct nouveau_bo *, uint32_t alignment, - union nouveau_bo_config *); +drm_private int abi16_chan_nv04(struct nouveau_object *); +drm_private int abi16_chan_nvc0(struct nouveau_object *); +drm_private int abi16_chan_nve0(struct nouveau_object *); +drm_private int abi16_engobj(struct nouveau_object *); +drm_private int abi16_ntfy(struct nouveau_object *); +drm_private void abi16_bo_info(struct nouveau_bo *, struct drm_nouveau_gem_info *); +drm_private int abi16_bo_init(struct nouveau_bo *, uint32_t alignment, + union nouveau_bo_config *); #endif |