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)
commit728a0cdf065b9f42d1ff25d94858f824bb0989ba
treed130572157babcd60548367fbbee9fa8c3eb87ee
parentc2288d4d3830946d91ae7aba599d34828d07f103
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: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
include/drm/ttm/ttm_page_alloc.h