Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 728a0cdf authored by Alexandre Courbot's avatar Alexandre Courbot Committed by Thomas Hellstrom
Browse files

drm/ttm: declare 'struct device' in ttm_page_alloc.h



Declare 'struct device' explicitly in ttm_page_alloc.h as this file
does not include any file declaring it. This removes the following
warning:

	warning: 'struct device' declared inside parameter list

Signed-off-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
parent c2288d4d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -29,6 +29,8 @@
#include <drm/ttm/ttm_bo_driver.h>
#include <drm/ttm/ttm_memory.h>

struct device;

/**
 * Initialize pool allocator.
 */