Re: [PATCH] drm/ttm: declare 'struct device' in ttm_page_alloc.h

From: Alexandre Courbot
Date: Wed Feb 19 2014 - 23:12:49 EST


Ping, David?

On Mon, Feb 10, 2014 at 9:37 PM, Thierry Reding
<thierry.reding@xxxxxxxxx> wrote:
> On Sun, Feb 09, 2014 at 06:43:18PM +0900, Alexandre Courbot wrote:
>> 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@xxxxxxxxxx>
>> ---
>> This warning was visible when compiling Nouveau on -next today.
>>
>> include/drm/ttm/ttm_page_alloc.h | 2 ++
>> 1 file changed, 2 insertions(+)
>
> I don't think I've seen this on x86, but I've certainly encountered the
> same warning when building nouveau on ARM, so:
>
> Reviewed-by: Thierry Reding <treding@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/