summaryrefslogtreecommitdiffstats
path: root/src/gbm/main/gbm.c
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2016-06-23 12:00:44 +0100
committerChad Versace <[email protected]>2016-06-23 13:55:03 -0700
commitb293e8b470506f3077b1e5db12308ec929d896e7 (patch)
tree3c298994ec4c49ff4dd890322a352b093f935ff0 /src/gbm/main/gbm.c
parent60a27ad122128145d28be37e9c0b0bc86a8e5181 (diff)
gbm: doc fixes
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/gbm/main/gbm.c')
-rw-r--r--src/gbm/main/gbm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
index 6be5b699f18..a464f3c33fe 100644
--- a/src/gbm/main/gbm.c
+++ b/src/gbm/main/gbm.c
@@ -232,7 +232,7 @@ gbm_bo_get_handle(struct gbm_bo *bo)
/** Get a DMA-BUF file descriptor for the buffer object
*
* This function creates a DMA-BUF (also known as PRIME) file descriptor
- * handle for the buffer object. Eeach call to gbm_bo_get_fd() returns a new
+ * handle for the buffer object. Each call to gbm_bo_get_fd() returns a new
* file descriptor and the caller is responsible for closing the file
* descriptor.
@@ -249,8 +249,8 @@ gbm_bo_get_fd(struct gbm_bo *bo)
/** Write data into the buffer object
*
* If the buffer object was created with the GBM_BO_USE_WRITE flag,
- * this function can used to write data into the buffer object. The
- * data is copied directly into the object and it's the responsiblity
+ * this function can be used to write data into the buffer object. The
+ * data is copied directly into the object and it's the responsibility
* of the caller to make sure the data represents valid pixel data,
* according to the width, height, stride and format of the buffer object.
*