[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140210123757.GF20143@ulmo.nvidia.com>
Date: Mon, 10 Feb 2014 13:37:58 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: Alexandre Courbot <acourbot@...dia.com>
Cc: David Airlie <airlied@...ux.ie>, gnurou@...il.com,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH] drm/ttm: declare 'struct device' in ttm_page_alloc.h
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@...dia.com>
> ---
> 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@...dia.com>
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists