diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-11-16 10:17:10 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-11-16 16:13:18 +0100 |
commit | f7711fdde1cd15e261adfab819c0e714e563bf60 (patch) | |
tree | 8bbfe3461b58c42187fc8297709e1261ebd19059 /drivers/gpu/drm/tests | |
parent | 80afdfa66ca9df85c483a9e89fe6cb8483cd6381 (diff) | |
download | linux-stable-f7711fdde1cd15e261adfab819c0e714e563bf60.tar.gz linux-stable-f7711fdde1cd15e261adfab819c0e714e563bf60.tar.bz2 linux-stable-f7711fdde1cd15e261adfab819c0e714e563bf60.zip |
drm/tests: Include helpers header
The kunit helpers code weren't including its header, leading to a
warning that no previous prototype had been defined for public
functions.
Include the matching header to fix the warning.
Fixes: 44a3928324e9 ("drm/tests: Add Kunit Helpers")
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: MaĆra Canal <mairacanal@riseup.net>
Link: https://lore.kernel.org/r/20221116091712.1309651-1-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'drivers/gpu/drm/tests')
-rw-r--r-- | drivers/gpu/drm/tests/drm_kunit_helpers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tests/drm_kunit_helpers.c b/drivers/gpu/drm/tests/drm_kunit_helpers.c index d3f0d681b685..dbd8ec24d4be 100644 --- a/drivers/gpu/drm/tests/drm_kunit_helpers.c +++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c @@ -5,6 +5,8 @@ #include <linux/device.h> +#include "drm_kunit_helpers.h" + struct kunit_dev { struct drm_device base; }; |