drm/ttm: declare 'struct device' in ttm_page_alloc.h
authorAlexandre Courbot <acourbot@nvidia.com>
Sun, 9 Feb 2014 09:43:18 +0000 (18:43 +0900)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 18 Feb 2014 13:01:48 +0000 (14:01 +0100)
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: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
include/drm/ttm/ttm_page_alloc.h

index d1f61bfe0ebe49841cc5f249c8307b75973b98a7..49a828425fa2d984615b6352812681a455d7d99b 100644 (file)
@@ -29,6 +29,8 @@
 #include <drm/ttm/ttm_bo_driver.h>
 #include <drm/ttm/ttm_memory.h>
 
+struct device;
+
 /**
  * Initialize pool allocator.
  */