aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tests/drm_kunit_helpers.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2022-12-01 16:11:32 +0100
committerMaxime Ripard <maxime@cerno.tech>2022-12-08 09:41:26 +0100
commit0c3627c744068fe95b235c9aa25d2bd56bde7e55 (patch)
treed0e253e912383c1c4aa744f922f45ec916a50fb4 /drivers/gpu/drm/tests/drm_kunit_helpers.c
parentdrm: panel-orientation-quirks: Add quirk for DynaBook K50 (diff)
downloadlinux-0c3627c744068fe95b235c9aa25d2bd56bde7e55.tar.gz
linux-0c3627c744068fe95b235c9aa25d2bd56bde7e55.zip
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> Link: https://lore.kernel.org/r/20221123-rpi-kunit-tests-v3-1-4615a663a84a@cerno.tech Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'drivers/gpu/drm/tests/drm_kunit_helpers.c')
-rw-r--r--drivers/gpu/drm/tests/drm_kunit_helpers.c3
1 files changed, 1 insertions, 2 deletions
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;
};