Skip to content

Commit

Permalink
drm/tests: Include helpers header
Browse files Browse the repository at this point in the history
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: 44a3928 ("drm/tests: Add Kunit Helpers")
Reported-by: kernel test robot <[email protected]>
Reviewed-by: Maíra Canal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Maxime Ripard <[email protected]>
  • Loading branch information
mripard committed Nov 16, 2022
1 parent 80afdfa commit f7711fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/tests/drm_kunit_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

#include <linux/device.h>

#include "drm_kunit_helpers.h"

struct kunit_dev {
struct drm_device base;
};
Expand Down

0 comments on commit f7711fd

Please sign in to comment.