Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,8 @@
#include <drm/ttm/ttm_bo_driver.h>
#include <drm/ttm/ttm_memory.h>
struct device;
/**
* Initialize pool allocator.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment