i965: Add inline to brw_bo_unmap

I meant to do this in "i965: Make brw_bo_unmap a static inline."
but botched the commit fixup.
This commit is contained in:
Kenneth Graunke
2017-06-30 20:33:57 -07:00
parent 314647c4c2
commit f78aa2c986

View File

@@ -212,7 +212,7 @@ MUST_CHECK void *brw_bo_map(struct brw_context *brw, struct brw_bo *bo, unsigned
* Reduces the refcount on the userspace mapping of the buffer
* object.
*/
static int brw_bo_unmap(struct brw_bo *bo) { return 0; }
static inline int brw_bo_unmap(struct brw_bo *bo) { return 0; }
/** Write data into an object. */
int brw_bo_subdata(struct brw_bo *bo, uint64_t offset,