Re: [PATCH] drm/exynos: Include missing linux/types.h in header

From: InKi Dae
Date: Sun May 13 2012 - 22:24:26 EST


2012/5/10 Emil Goode <emilgoode@xxxxxxxxx>:
> Include the linux/types.h file where used types are declared.
>
> Sparse gives the following warning:
> /usr/include/drm/exynos_drm.h:92:
>        found __[us]{8,16,32,64} type without
>        #include <linux/types.h>
>
> Signed-off-by: Emil Goode <emilgoode@xxxxxxxxx>
> ---
>  include/drm/exynos_drm.h |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h
> index e478de4..7eb7ae7 100644
> --- a/include/drm/exynos_drm.h
> +++ b/include/drm/exynos_drm.h
> @@ -29,6 +29,8 @@
>  #ifndef _EXYNOS_DRM_H_
>  #define _EXYNOS_DRM_H_
>
> +#include <linux/types.h>
> +

applied.

Thanks,
Inki Dae

>  /**
>  * User-desired buffer creation information structure.
>  *
> --
> 1.7.10
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
--
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/