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: upstream/snapshot3+hdmi~3339^2~5^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=728a0cdf065b9f42d1ff25d94858f824bb0989ba;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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. */