[Lima] [PATCH 2/2] drm/lima: include used header file explicitly
Neil Armstrong
narmstrong at baylibre.com
Tue Apr 9 07:22:46 UTC 2019
On 09/04/2019 02:36, Qiang Yu wrote:
> To prevent build fail on some platform which does
> not have it in the include file chain.
>
> Cc: Neil Armstrong <narmstrong at baylibre.com>
> Suggested-by: Randy Dunlap <rdunlap at infradead.org>
> Fixes: a1d2a6339961 ("drm/lima: driver for ARM Mali4xx GPUs")
> Signed-off-by: Qiang Yu <yuq825 at gmail.com>
> ---
> drivers/gpu/drm/lima/lima_gem.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/lima/lima_gem.c b/drivers/gpu/drm/lima/lima_gem.c
> index 2d3cf96f6c58..1d69498bc17e 100644
> --- a/drivers/gpu/drm/lima/lima_gem.c
> +++ b/drivers/gpu/drm/lima/lima_gem.c
> @@ -1,6 +1,7 @@
> // SPDX-License-Identifier: GPL-2.0 OR MIT
> /* Copyright 2017-2019 Qiang Yu <yuq825 at gmail.com> */
>
> +#include <linux/mm.h>
> #include <linux/sync_file.h>
> #include <linux/pfn_t.h>
>
>
Reviewed-by: Neil Armstrong <narmstrong at baylibre.com>
More information about the lima
mailing list