mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
44 lines
1.4 KiB
Diff
44 lines
1.4 KiB
Diff
From 2158817997d9e4d9ea6fab6513b8bedefef37cc7 Mon Sep 17 00:00:00 2001
|
|
From: Maxime Ripard <maxime@cerno.tech>
|
|
Date: Mon, 28 Nov 2022 14:12:43 +0100
|
|
Subject: [PATCH 503/726] drm/tests: helpers: Move the helper header to
|
|
include/drm
|
|
|
|
We'll need to use those helpers from drivers too, so let's move it to a
|
|
more visible location.
|
|
|
|
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
|
|
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
|
|
---
|
|
drivers/gpu/drm/tests/drm_kunit_helpers.c | 3 +--
|
|
{drivers/gpu/drm/tests => include/drm}/drm_kunit_helpers.h | 0
|
|
2 files changed, 1 insertion(+), 2 deletions(-)
|
|
rename {drivers/gpu/drm/tests => include/drm}/drm_kunit_helpers.h (100%)
|
|
|
|
diff --git a/drivers/gpu/drm/tests/drm_kunit_helpers.c b/drivers/gpu/drm/tests/drm_kunit_helpers.c
|
|
index 8c738384a992..6600a4db3158 100644
|
|
--- a/drivers/gpu/drm/tests/drm_kunit_helpers.c
|
|
+++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c
|
|
@@ -1,14 +1,13 @@
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#include <drm/drm_drv.h>
|
|
+#include <drm/drm_kunit_helpers.h>
|
|
#include <drm/drm_managed.h>
|
|
|
|
#include <kunit/resource.h>
|
|
|
|
#include <linux/device.h>
|
|
|
|
-#include "drm_kunit_helpers.h"
|
|
-
|
|
struct kunit_dev {
|
|
struct drm_device base;
|
|
};
|
|
diff --git a/drivers/gpu/drm/tests/drm_kunit_helpers.h b/include/drm/drm_kunit_helpers.h
|
|
similarity index 100%
|
|
rename from drivers/gpu/drm/tests/drm_kunit_helpers.h
|
|
rename to include/drm/drm_kunit_helpers.h
|
|
--
|
|
2.33.1
|
|
|