OSDN Git Service

nouveau: add missing drm_public exports
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 20 Sep 2018 15:52:30 +0000 (16:52 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Thu, 20 Sep 2018 17:23:52 +0000 (18:23 +0100)
Fixes: d7320bfcddc596f23fa2 "nouveau: annotate public functions"
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Mark Janes <mark.a.janes@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108006
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Tested-by: Dylan Baker <dylan@pnwbakers.com>
nouveau/nouveau.c
nouveau/pushbuf.c

index 5be0611..f18d142 100644 (file)
@@ -856,7 +856,7 @@ nouveau_bo_wait(struct nouveau_bo *bo, uint32_t access,
        return ret;
 }
 
-int
+drm_public int
 nouveau_bo_map(struct nouveau_bo *bo, uint32_t access,
               struct nouveau_client *client)
 {
index 856ae7e..e5f73f0 100644 (file)
@@ -728,7 +728,7 @@ nouveau_pushbuf_data(struct nouveau_pushbuf *push, struct nouveau_bo *bo,
        }
 }
 
-int
+drm_public int
 nouveau_pushbuf_refn(struct nouveau_pushbuf *push,
                     struct nouveau_pushbuf_refn *refs, int nr)
 {