From: Alexandre Courbot Date: Sun, 9 Feb 2014 09:43:18 +0000 (+0900) Subject: drm/ttm: declare 'struct device' in ttm_page_alloc.h X-Git-Tag: v3.14-rc5~1^2~5^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=728a0cdf065b9f42d1ff25d94858f824bb0989ba;p=kernel%2Fkernel-generic.git 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 Reviewed-by: Thierry Reding --- diff --git a/include/drm/ttm/ttm_page_alloc.h b/include/drm/ttm/ttm_page_alloc.h index d1f61bf..49a8284 100644 --- a/include/drm/ttm/ttm_page_alloc.h +++ b/include/drm/ttm/ttm_page_alloc.h @@ -29,6 +29,8 @@ #include #include +struct device; + /** * Initialize pool allocator. */