minigbm: Remove drv prefix from static backend functions
It doesn't make sense to have the drv prefix for static backend
functions, so remove it.
TEST=minigbm still builds
CQ-DEPEND=CL:370798
Change-Id: I65272162b8c7cf5d3716c7e5fcf0475c35522c47
Reviewed-on: https://chromium-review.googlesource.com/371501
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
diff --git a/mediatek.c b/mediatek.c
index b623f6f..8cf320d 100644
--- a/mediatek.c
+++ b/mediatek.c
@@ -15,9 +15,8 @@
#include "drv_priv.h"
#include "helpers.h"
-static int drv_mediatek_bo_create(struct bo *bo,
- uint32_t width, uint32_t height,
- uint32_t format, uint32_t flags)
+static int mediatek_bo_create(struct bo *bo, uint32_t width, uint32_t height,
+ uint32_t format, uint32_t flags)
{
size_t size;
struct drm_mtk_gem_create gem_create;
@@ -43,7 +42,7 @@
return 0;
}
-static void *drv_mediatek_bo_map(struct bo *bo)
+static void *mediatek_bo_map(struct bo *bo)
{
int ret;
struct drm_mtk_gem_map_off gem_map;
@@ -64,9 +63,9 @@
const struct backend backend_mediatek =
{
.name = "mediatek",
- .bo_create = drv_mediatek_bo_create,
+ .bo_create = mediatek_bo_create,
.bo_destroy = drv_gem_bo_destroy,
- .bo_map = drv_mediatek_bo_map,
+ .bo_map = mediatek_bo_map,
.format_list = {
{DRV_FORMAT_XRGB8888, DRV_BO_USE_SCANOUT | DRV_BO_USE_CURSOR | DRV_BO_USE_RENDERING},
{DRV_FORMAT_XRGB8888, DRV_BO_USE_SCANOUT | DRV_BO_USE_CURSOR | DRV_BO_USE_LINEAR},