]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1a683f22e1ac38f0bab8a440a5ed0a982830254
treed130572157babcd60548367fbbee9fa8c3eb87ee
parent52fd41d4b45e248460bedbe67a380ca13a38b366
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